Open Bug 1095039 Opened 11 years ago Updated 3 years ago

JAR manifests accept foo.jar:GARBAGE

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: nalexander, Unassigned)

Details

In a different ticket, I think I got bitten by the fact that JAR manifests (jar.mn files) accept: foo.jar:GARBAGE CONTENT silently. I traced this to the regexp at [1], but that looks correct -- it should match the whole line. Is the issue that .match looks for a substring? That something isn't greedy enough? [1] http://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/jar.py#72
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.