Closed Bug 960618 Opened 11 years ago Closed 11 years ago

BOM in manifest treated as invalid

Categories

(Marketplace Graveyard :: Integration, defect, P1)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ozten, Assigned: kumar)

References

Details

Attachments

(1 file)

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
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" }
Kumar notes how this is handled in the Marketplace https://github.com/mozilla/zamboni/blob/master/apps/amo/utils.py#L948
Assignee: nobody → kumar.mcmillan
Attached file pacman-canvas.webapp
manifest, in case it goes offline or changes
Blocks: 958329
Component: FxA → Integration
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.
yeah, this is important. We are live as in real users are requesting real APKs?
Priority: -- → P1
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.

Attachment

General

Created:
Updated:
Size: