Closed
Bug 960618
Opened 11 years ago
Closed 11 years ago
BOM in manifest treated as invalid
Categories
(Marketplace Graveyard :: Integration, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ozten, Assigned: kumar)
References
Details
Attachments
(1 file)
271 bytes,
application/octet-stream
|
Details |
The APK Factory Service will reject manifests which have a BOM marker.
Steps to reproduce:
1) curl -v 'http://dapk.net/application.apk?manifestUrl=http://pacman.platzh1rsch.ch/pacman-canvas.webapp
Actual:
SyntaxError: Unexpected token
Expected:
A valid APK
Reporter | ||
Comment 1•11 years ago
|
||
Actual contents of the manifest:
<U+FEFF>{
"name": "Pacman Canvas (Beta)",
"description": "An old classic, rewritten in HTML5",
"launch_path": "/",
"developer": {
"name": "platzh1rsch",
"url": "http://platzh1rsch.ch"
},
"icons": {
"128": "/img/icon-128.png"
},
"default_locale": "en"
}
Reporter | ||
Comment 2•11 years ago
|
||
Kumar notes how this is handled in the Marketplace
https://github.com/mozilla/zamboni/blob/master/apps/amo/utils.py#L948
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → kumar.mcmillan
Assignee | ||
Comment 3•11 years ago
|
||
manifest, in case it goes offline or changes
Updated•11 years ago
|
Component: FxA → Integration
Reporter | ||
Comment 4•11 years ago
|
||
ETA - We are live in nightly, so I'd like to fix this. Happy to grab this, if you're heads down in other bugs.
Assignee | ||
Comment 5•11 years ago
|
||
yeah, this is important. We are live as in real users are requesting real APKs?
Priority: -- → P1
Reporter | ||
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•