Closed Bug 956392 Opened 12 years ago Closed 12 years ago

Categories

(www.mozilla.org :: Pages & Content, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: georgevidalakis, Assigned: kohei)

References

()

Details

(Whiteboard: [kb=1228656] )

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140103004002 Steps to reproduce: I tried to validate https://www.mozilla.org/en-US/firefox/new/ with W3C HTML Validator ( http://validator.w3.org/ ). Actual results: I saw at the errors list that there is an "a" tag whose "href" attribute contain the & sybmol (line 242) three times. Expected results: The & symbol should be replaced with & .
Component: Webdev → Pages & Content
Product: mozilla.org → www.mozilla.org
I believe this query string (?esab=a&s=silent+download&r=0&as=s) was automatically appended to the URL when the page author (or someone) searched the article on SUMO. So it's not necessary. Actually I have omitted the query string from the same link in Tabzilla's Update Bar (Bug 935719). I'll send a PR to remove it.
Assignee: nobody → kohei.yoshino
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attached file Pull Request on GitHub
Whiteboard: [kb=1228656]
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/fee6d65c6a83c6ca8b3a7c9a765616054f3faa74 Bug 956392 - escape ampersands in links https://github.com/mozilla/bedrock/commit/06f705132b6e246e9512d5f47857579544ecf820 Merge pull request #1560 from kyoshino/bug-956392-escape-ampersands Bug 956392: Escape ampersands in links
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → 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: