Closed Bug 755495 Opened 14 years ago Closed 14 years ago

make DEFAULT_WEBAPP_AMO_URL a list

Categories

(Marketplace Graveyard :: Validation, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012-06-14

People

(Reporter: clouserw, Assigned: basta)

Details

From bug 747252 people are having trouble installing apps off marketplace-dev because the installs_allowed_from is marketplace.m.o. The DEFAULT_WEBAPP_AMO_URL constant would let us adjust that, but it would override marketplace.m.o. The goal of this bug is to allow installs on marketplace.m.o from '*' and 'marketplace.mozilla.org' and on marketplace-dev.a.o from '*', 'marketplace-dev.a.o', and 'marketplace.mozilla.org' Effectively the whitelist should be a list instead of a string. I see the validator tries to load from a constants_local file - what is the best way to get this list from the marketplace config into the amo-validator on the servers?
I can make a parameter in the validate.validate() function, if it would work best that way. That's probably most in line with what we've done for other settings constants (like the path to Spidermonkey). I'll get started on converting that constant to a list, though.
Still in progress or are you blocked?
Priority: -- → P4
Target Milestone: 2012-05-17 → 2012-06-14
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.