Last modified: 2013-06-28 18:05:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52042, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50042 - Parsoid: External links are double encoded
Parsoid: External links are double encoded
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-23 09:27 UTC by Krinkle
Modified: 2013-06-28 18:05 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Comment 1 Ed Sanders 2013-06-26 13:14:56 UTC
Looks like a Parsoid bug. Works fine when data-parsoid is present, but for new annotations URLs are encoded.

<a rel="mw:ExtLink" href="https://github.com/search?l=&amp;q=ResourceLoader+%40wikimedia">Search</a>

serialises to:

[https://github.com/search?l=&q=ResourceLoader+%2540wikimedia Search]
Comment 2 Gerrit Notification Bot 2013-06-28 17:41:20 UTC
Change 71082 had a related patch set uploaded by GWicke:
Bug 50042: Don't percent-encode modified external link hrefs

https://gerrit.wikimedia.org/r/71082
Comment 3 Gerrit Notification Bot 2013-06-28 17:55:39 UTC
Change 71082 merged by jenkins-bot:
Bug 50042: Don't percent-encode modified external link hrefs

https://gerrit.wikimedia.org/r/71082
Comment 4 Gabriel Wicke 2013-06-28 18:05:02 UTC
We might later want to prettify the percent encoding. Basically decode everything but some vital percent-encoded values ([%? ], probably more). But for now this is fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links