Page MenuHomePhabricator

Bidirectional override characters causing problems in links and titles
Closed, ResolvedPublic

Description

Author: arno.raymond.lagrange

Description:
Ligante per [[Puĝeta Fjordo‎]] oni atingas paĝon Pu%C4%9Deta_Fjordo%E2%80%8E kaj
ne "Puĝeta Fjordo". Redirektilo el tiu paĝo eĉ ne funkcias.


Version: unspecified
Severity: major
URL: http://eo.wikipedia.org/wiki/Pu%C4%9Deta_Fjordo%E2%80%8E

Details

Reference
bz7414

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:22 PM
bzimport set Reference to bz7414.
bzimport added a subscriber: Unknown Object (MLST).

arno.raymond.lagrange wrote:

Temas pri [[:eo:Puĝeta Fjordo‎]]

This is the problem with the Unicode LTR/RTL override chars getting cut-
n-pasted.

Proper fix would have two parts:

  1. Get around to forbidding these in page titles so the links are

obviously broken. :)

  1. Find out how to emit the override stuff *without* characters getting

into cut-n-paste.

  1. is bug 1414 and/or bug 3696.

For 2) it would be good to test to see which browsers actually do this
so we can test alternatives.

arno.raymond.lagrange wrote:

La uzulo [[:eo:Vikipediisto:Haruo]] ankaŭ foje redaktas jide (RTL) eble pro tio
....

robchur wrote:

*** Bug 8124 has been marked as a duplicate of this bug. ***

  • This bug has been marked as a duplicate of 3696 ***

(In reply to comment #2)

This is the problem with the Unicode LTR/RTL override chars getting cut-
n-pasted.

Proper fix would have two parts:

  1. Get around to forbidding these in page titles so the links are

obviously broken. :)

  1. Find out how to emit the override stuff *without* characters getting

into cut-n-paste.

  1. is bug 1414 and/or bug 3696.

For 2) it would be good to test to see which browsers actually do this
so we can test alternatives.

Yeah, all forms should probably kill these, maybe on the server-side two. That way I they would get stripped out of edits/edit summaries. They should also be illegal titles.