Closed Bug 551224 Opened 15 years ago Closed 15 years ago

captcha image is not loading on AAQ

Categories

(support.mozilla.org :: Forum, task, P1)

x86
All

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vish_moz, Assigned: jsocol)

References

()

Details

Attachments

(1 file)

STR: 1. go to sumo stage http://support-stage.mozilla.com 2. go to Ask a Question form 'http://support-stage.mozilla.com/tiki-view_forum.php?locale=en-US&forumId=1&openpost=1' 3. fill out the form and go through the steps Actual result: on step 4 of the form, the captcha image does not load http://screencast.com/t/NWY1MDdl Expected result: captcha image should load
Assignee: nobody → laura
The AAQ JS is assuming that there's no '?' in the captcha <img src/> attribute. That's not not necessarily true. This checks for the existence of a '?' first, and if there is one, uses '&amp;'. (I might be over-escaping here, but it really doesn't matter, since the rest of the query string is just random garbage for IE.)
Assignee: laura → james
Attachment #431720 - Flags: review?(paulc)
Comment on attachment 431720 [details] [diff] [review] don't assume there's no ? in the captcha src attr in the aaq I don't see this locally (or on prod, so at least partly a config issue), so I don't know if this will fix it. Commit it and then we can test it on stage. (It won't break anything AFAICT.)
Attachment #431720 - Flags: review+
r64062. I did see the problem locally without this patch. The patch solved it for me.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Attachment #431720 - Flags: review?(paulc)
Verified, FIXED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: