-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xbps-fetch: tilde character shouldn't be url-escaped #606
Comments
78 tasks
gmbeard
added a commit
to gmbeard/xbps
that referenced
this issue
Dec 7, 2024
This prevents the tilde (`~`) character from being incorrectly encoded as `%7e` in paths. For example, this URL didn't previously resolve correctly... ``` http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-1.1.tar.gz ``` Fixes void-linux#606
Citing RFC 2396:
So I think the server is broken, but xbps probably still shouldn't encode the tilde. |
gmbeard
changed the title
xbps-fetch: tilde character is incorrectly url-encoded
xbps-fetch: tilde character shouldn't be url-escaped
Dec 7, 2024
@leahneukirchen Agreed. I've changed the issue title so as not to assign blame to |
gmbeard
added a commit
to gmbeard/xbps
that referenced
this issue
Dec 8, 2024
This prevents the tilde (`~`) character from being escaped as `%7e` in paths. For example, this URL didn't previously resolve correctly... ``` http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-1.1.tar.gz ``` Fixes void-linux#606
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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...
Using
curl
to download this file works fine.The text was updated successfully, but these errors were encountered: