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

Details

Description:

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 

Loading...