AJAX broken on bug page when accessed on the wrong domain

Bug #411657 reported by Eleanor Berger on 2009-08-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Eleanor Berger

Bug Description

If you access a bug page on a domain other than bugs. things stop working. The duplicate and privacy form no longer get initialized and the button for posting a comment disappears. The reason for that is that there are restrictions on making XHRs across domains, and the form overlays try to get their contents from the bugs domain.

Ideally, we should force using the correct domain by redirecting, but for now using the path portion of the URL instead of the full URL when setting the links works just fine.

Fixed in devel r9084.

Changed in malone:
status: In Progress → Fix Committed

Re-opening, since this doesn't seem to be completely fixed yet. If this gets more complicated, it's likely that the best solution will be to force a redirect to the correct domain.

Changed in malone:
status: Fix Committed → Triaged
milestone: 2.2.8 → 3.0
Deryck Hodge (deryck) on 2009-09-17
Changed in malone:
milestone: 3.0 → 3.1.10
Changed in malone:
status: Triaged → In Progress
Deryck Hodge (deryck) on 2009-10-29
Changed in malone:
status: In Progress → Fix Committed
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers