Accessing marketplace with a fully qualified domain throws a 500

RESOLVED WORKSFORME

Status

Marketplace
Code Quality
P3
normal
RESOLVED WORKSFORME
5 years ago
2 years ago

People

(Reporter: basta, Unassigned)

Tracking

x86_64
Windows 7
Points:
---

Details

(Reporter)

Description

5 years ago
Accessing "marketplace.firefox.com." (note the trailing dot) throws a security error (as it should). If you bypass the security error, you get a 500 error. You should instead be 300ed to the non-fully qualified domain.
(Reporter)

Updated

5 years ago
Priority: -- → P3
Assignee: nobody → server-ops-amo
Component: General → Server Operations: AMO Operations
Product: Marketplace → mozilla.org
QA Contact: oremj
Version: 1.0 → other

Comment 1

5 years ago
I think this just needs to be added to ALLOWED_HOSTS. It looks like the ISE is coming from zamboni.  

https://github.com/mozilla/zamboni/blob/master/mkt/settings.py#L10

Updated

5 years ago
Assignee: server-ops-amo → nobody
Component: Server Operations: AMO Operations → Code Quality
Product: mozilla.org → Marketplace
QA Contact: oremj
Target Milestone: --- → 2013-05-30
Version: other → 1.5
Target Milestone: 2013-05-30 → ---

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.