Skip to content

Malformed Download URL due to UNC path #1

Description

@merickson

(referencing internal issue 2904)

Currently zipstream creates improperly long file names on Windows due to inappropriate use of splitdrive() on UNC paths. @rupole suggests just using os.path.split() instead, which should just work, as well as ensure we only encode the name of the directory and not the whole path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions