Skip to content

xbps-fetch: tilde character shouldn't be url-escaped #606

Description

@gmbeard

When using xbps-fetch, the tilde (~) character is being url encoded into %7e. This is causing at least one xbps srcpkg to fail when downloading its distfiles .

For example, the following fails to find the udptunnel distfile (note the tilde character in the path)...

$ xbps-fetch -v 'http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-1.1.tar.gz'

Examining the TTY output, I can see that the tilde is being url encoded...

requesting http://www.cs.columbia.edu/%7elennox/udptunnel/udptunnel-1.1.tar.gz

Using curl to download this file works fine.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions