AUR web interface

Tasklist

FS#45276 - Wrong urls for PKGBUILD and changes.

Attached to Project: AUR web interface
Opened by A. Bosch (progandy) - Tuesday, 09 June 2015, 11:23 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 09 June 2015, 11:51 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.0.0-rc2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The urls to view the PKGBUILD and the changes don't support some characters in the package name.

Example:
https://aur4.archlinux.org/packages/otr-verwaltung++/

The repository is selected with ?h=otr-verwaltung++, so the plus signs should be encoded.

Bugfix:
add urlencode to in the web/template/pkg_details.php, line 85, 86

'/tree/PKGBUILD?h=' . urlencode($row['BaseName'])
'/log/?h=' . urlencode($row['BaseName'])

https://projects.archlinux.org/aurweb.git/tree/web/template/pkg_details.php?id=e2b040b7ce6deeca6246ebf132d67908ebc5fe38#n85

This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 09 June 2015, 11:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.0.0-rc3.

Loading...