https://bugzilla.wikimedia.org/show_bug.cgi?id=42298

       Web browser: ---
             Bug #: 42298
           Summary: Handle percent-encoding in MWInternalLinkAnnotation
           Product: VisualEditor
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Per conversation with Gabriel, MWInternalLinkAnnotation needs to deal with
percent-encoded hrefs. At least question marks (?) and percent signs (%) will
be encoded. We need to decode these before presenting them to the user, encode
the user input on the way out, and use href shadowing to make sure we don't
change the href if the user didn't change the target (even if that would
otherwise happen due to complete vs partial percent-encoding).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to