Open
Bug 746337
Opened 12 years ago
Updated 2 years ago
Packager.pm doesn't correctly identify manifest files that contain more than one . (period)
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: mossop, Unassigned)
Details
Packager.pm uses fileparse to attempt to get the extension of files so that it can see if any are manifest files and so do special things with them. It passes the regex '\..*?$'. I assume that whoever wrote it made it non-greedy might have thought that meant it would only match everything from the last . onwards but it still matches anything from the first . so it thinks a file like "pdf.js.manifest" has the extension ".js.manifest". A better regex to use would be '\.[^\.]*$'. No idea how scary changing that is though.
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•