Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679770 - app-portage/pfl-3.0-r2: fails to report files with '&' in a path or a name
Summary: app-portage/pfl-3.0-r2: fails to report files with '&' in a path or a name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-08 15:19 UTC by Andrew Savchenko
Modified: 2020-04-12 17:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,12.77 KB, application/x-info)
2019-03-08 15:19 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2019-03-08 15:19:47 UTC
Created attachment 568184 [details]
emerge --info

Hi!

pfl fails to submit files with "&" in the file name, e.g.:

TTP Response Code: 200
HTTP Response Body:
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:89639: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/cuneiform/rec2r&e.dat</file>
                                                                                 ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:89682: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/cuneiform/rec3r&e.dat</file>
                                                                                 ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:89738: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/cuneiform/rec1r&e.dat</file>
                                                                                 ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:89780: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/cuneiform/rec4r&e.dat</file>
                                                                                 ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:109209: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/apps/kmahjongg/layouts/up&down.layout</file>
                                                                                                 ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:109242: parser error : EntityRef: expecting ';'
                                <file type="obj">/usr/share/apps/kmahjongg/layouts/up&down.desktop</file>
                                                                                                  ^
/www/upload.portagefilelist.de/uploadtest/1552057920-bea49466-1ed6-49b7-bc1c-8f117296ba17.pfl.xml:230306: parser error : xmlSAX2Characters: huge text node
                                <file type="dir">/usr/lib/python2.7/site-packages</file>
Comment 1 Daniel Pielmeier gentoo-dev 2020-04-10 06:14:02 UTC
Hello Andrew! Thanks for the report!

The upstream Git repository [1] contains a version which should escape these entities in file names properly.

Would be great if you could give this a quick try.

[1] https://github.com/portagefilelist/client
Comment 2 Daniel Pielmeier gentoo-dev 2020-04-12 17:35:44 UTC
Should be fixed wit pfl-3.1. Please reopen if this is still an issue.