Closed Bug 968146 Opened 10 years ago Closed 10 years ago

sometimes characters aren't escaped properly in the body tag - breaking (dev) Marketplace

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
2014-02-11

People

(Reporter: eviljeff, Unassigned)

References

Details

Attachments

(2 files)

I can't load marketplace-dev, apparently because the data-languages attribute isn't properly encoded.  
so it looks like this:
<body class="home" data-languages="["af", "ar", "bg", "ca", "cs", "da", "de", "el", "en-US", "es", "eu", "fa", "fi", "fr", "ga-IE", "he", "hu", "id", "it", "ja", "ko", "mn", "nl", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", "sq", "sr", "sr-Latn", "sv-SE", "tr", "uk", "vi", "zh-CN", "zh-TW", "dbg"]" data-settings="{"persona_unverified_issuer": "login.persona.org"}" data-build-id-js="0017804-52f18b19" data-media="https://marketplace-dev-cdn.allizom.org/media/" data-repo="fireplace">

see attachment
When working correctly, we should see:
<body class="home" data-languages="[&#34;ca&#34;, &#34;cs&#34;, &#34;de&#34; (...)

When curl-ing https://marketplace-dev.allizom.org/ it seems to alternate between the 2 versions (X-Backend-Server and Via headers stay the same though)

Can't reproduce in stage or production.
Priority: -- → P1
Target Milestone: --- → 2014-02-11
I can't reproduce at all. Who can? Steps please!
Keywords: steps-wanted
1) curl https://marketplace-dev.allizom.org/
2) repeat 1) until you get a broken response :)

The bad part is the caching means that in Firefox even a ctrl+F5 doesn't fix it.  (I guess the cache will expire at some point)
Keywords: steps-wanted
(In reply to Andrew Williamson [:eviljeff] from comment #5)
> 1) curl https://marketplace-dev.allizom.org/
> 2) repeat 1) until you get a broken response :)
> 
> The bad part is the caching means that in Firefox even a ctrl+F5 doesn't fix
> it.  (I guess the cache will expire at some point)

Can you paste the command and the output? I can't reproduce :(
hmm.  Neither myself nor Mat can replicate today so calling it closed until we see it again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: