Skip to content

Unquote Username and Password #1871

Open
@geoffjukes

Description

@geoffjukes

Apologies for brevity, I’m on my cell.

I have a bunch or URLs that contain usernames and passwords. All “special” characters have been URL Encoded (“quoted”, to use urllib’s term). But when using url_to_fs, any URL’s with encoded characters fail.

I think there’s a simple fix. If you wrap these two in urllib’s “unquote”.

options["username"] = parsed_path.username

options["username"] = parsed_path.username

If that’s not possible, I’ll implement a simplified equivalent of url_to_fs. Just figured I’d ask first :)

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