Ticket #1229 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

"URIError: malformed URI sequence" exception when wikifying links

Reported by: FND Owned by: JeremyRuston
Priority: major Milestone: 2.6.1
Component: core Version:
Severity: critical Keywords:
Cc:

Description

test case:

wikify("[[foo % bar]]", document.body);

(note the unescaped percentage sign)

Seems like the prettyLink formatter should perhaps use encodeURIComponent?

Change History

Changed 3 years ago by MartinBudden

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:12282

Problem was not fixed by using encodeURIComponent, but rather by removing use of decodeURIComponent.

Note: See TracTickets for help on using tickets.