Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#23774 - Arch package query parameter not properly encoded
Attached to Project:
AUR web interface
Opened by Marcel Korpel (Marcel-) - Friday, 15 April 2011, 09:07 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 August 2011, 18:17 GMT
Opened by Marcel Korpel (Marcel-) - Friday, 15 April 2011, 09:07 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 August 2011, 18:17 GMT
|
DetailsSeveral packages in the AUR depend on stock Arch packages. When viewing package details I can automatically search those packages using a URL like http://www.archlinux.org/packages/?q=%s.
However, the query parameter is not properly encoded according to RFC 3986. For example, on https://aur.archlinux.org/packages.php?ID=2697 there's a dependency on 'libstdc++5' with a link to http://www.archlinux.org/packages/?q=libstdc++5; of course, this is incorrect, the query parameter should be 'libstdc%2B%2B5'. Proposal: use rawurlencode to encode the query parameter. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 20 August 2011, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.0.
Saturday, 20 August 2011, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.9.0.
repair-query-param.patch
[1] http://projects.archlinux.org/aur.git/commit/?id=0e5f2e1f1efe520da6f9c9d7db4bc3dec7e589e6