Skip to content

ConstructListObjInput function is incorrectly trimming the 'key' string #53

@BrianFanning

Description

@BrianFanning

I will open a PR shortly with a fix.

The key argument passed to ConstructListObjInput function is a path such as /my_folder/. The function trims the final / off the path, but instead it should remove the leading /. Prefixes do not start with a / character.

The trailing / should not be removed if you want to provide browse-style functionality. Take a look at the third example here from the official API docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions