Page MenuHomePhabricator

in Experimental, some accents in urls have recursive problems
Closed, ResolvedPublic


With Experimental settings on, I go to the following url:

This gets rewritten as:

Upon each refresh, the size of the url increases until I end up with:

On the stock Browswer browser for Android, the page refreshes with each url on its own, meaning that the target article cannot even be viewed. On desktop, the urls only get rewritten and expanded upon each manual page refresh.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:54 AM
bzimport set Reference to bz49647.

Very strange. I also notice searching from Crepe on the main page mangles the URL as well.

This could be an issue in MobileFrontend or the History.js library we use.

I notice calling
History.replaceState( null, mw.config.get( 'wgTitle' ), decodeURIComponent( window.location.pathname ) );

instead of
History.replaceState( null, mw.config.get( 'wgTitle' ) )
fixes the reported problem (although pages loaded via the api also have this problem)

arggg encoding issues.

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

In Dolphin this also seems to cause a redirect.

Going to "Ä" redirect to "Ã", then to "ÂÃ" etc.. until it ends up at "Bad
title". This only occurs in dolphin browser on my phone, and not in chrome, nor
in firefox.

(This can also happen on Chrome desktop)

Change 70953 had a related patch set uploaded by Jdlrobson:
Bug 49647: Take away History.js dependency

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

Change 70953 merged by jenkins-bot:
Bug 49647: Take away History.js dependency