AUR web interface

**This is the bug tracker for the AUR web interface.**

Use this tracker to report bugs or make feature requests regarding the behaviour or implementation of the AUR software.
Please read the Reporting Bug Guidelines before filing a new task.

- Please report bugs related to Arch Linux official packages here:
- Please report bugs for [community] packages here:
- For any packages in the AUR contact the maintainer or leave a comment on the package's detail page.

Source Code:

FS#17328 - AUR "pkgsubmit.php" script strips strings containing a pound sign ("#")

Attached to Project: AUR web interface
Opened by Lukas Fleischer (lfleischer) - Monday, 30 November 2009, 17:45 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 10 March 2010, 17:25 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To Loui Chang (louipc)
Architecture All
Severity Low
Priority Normal
Reported Version 1.6.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No



In "pkgsubmit.php" a regular expression ("$line = preg_replace('/\s*#.*/', '', $line);", line 77) is used to strip comments. This also considers a pound sign ("#") inside a string to introduce a comment. Maybe something else should be used to parse lines for comments.

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 10 March 2010, 17:25 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#17482 
Comment by Laszlo Papp (djszapi) - Tuesday, 15 December 2009, 05:56 GMT
Duplicated of  FS#17482