FS#25732 - [archweb] AUR search URLs aren't URL-escaped

Attached to Project: Arch Linux
Opened by Lukas Fleischer (lfleischer) - Tuesday, 23 August 2011, 15:19 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 23 August 2011, 22:17 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
AUR search URLs generated by archweb aren't escaped properly [1]. Appending "|urlize" to the variable in the template might fix this.

Additional info:
* archweb release_2011-08-19

[1] http://www.archlinux.org/packages/?q=%26foo=bar
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 23 August 2011, 22:17 GMT
Reason for closing:  Fixed
Comment by Dan McGee (toofishes) - Tuesday, 23 August 2011, 22:09 GMT
Yeah, I found quite a few URLs that are broken, and I need to fix this in a smarter way. See this (not in the right place) fix that I need to retweak, but I'll put the AUR url into the mix as well.
http://projects.archlinux.org/archweb.git/commit/?id=c9c3dffdec1afa8ce4ff8d26113ff871a25d224d
Comment by Dan McGee (toofishes) - Tuesday, 23 August 2011, 22:15 GMT
|urlencode is what you want by the way, not |urlize. Should be fixed next release.

Loading...