Page MenuHomePhabricator

apostrophe in url
Closed, ResolvedPublic

Description

Author: mjiang

Description:
An apostrophe (single quote) in url can be either a single letter ' or three letters %27. They should be equivalent, but the following two urls point to two different versions of the same page:

http://en.wikipedia.org/wiki/K%C3%B6nig%27s_theorem_(graph_theory)#Proof

http://en.wikipedia.org/wiki/K%C3%B6nig's_theorem_(graph_theory)#Proof

The first url points (correctly) to the most updated version. The second url points (incorrectly) to an older version. Open two windows and compare, in particular, the section "Proof".

Google "Konig's theorem", and you will see the first hit gives the url with a single letter ' for the apostrophe. If you follow the second google hit instead and choose "(graph theory)" from the Wikipedia disambiguation page, you will get the url with the three letters %27 for the apostrophe.


Version: unspecified
Severity: major

Details

Reference
bz35293

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:13 AM
bzimport set Reference to bz35293.
bzimport added a subscriber: Unknown Object (MLST).

EN.WP.ST47 wrote:

Confirmed while logged out. action=purge on both pages had no effect. Logging in corrected the discrepancy

EN.WP.ST47 wrote:

Bump to Wikimedia, probably a cache issue.

EN.WP.ST47 wrote:

Note that I initially tested this in Chrome. Firefox is not affected by this because it normalizes URLs that are entered - typing in %27 is automatically made an '. Chrome does not do this. Internet Explorer is also affected, even after the problem is no longer visible in Chrome.

(In reply to comment #2)

Bump to Wikimedia, probably a cache issue.

Sounds like it

I think we already have bug for this. Something about the MW purging only the canonical version of the article on changes from the squid.

EN.WP.ST47 wrote:

It sounds similar to bug 30772 but that bug should probably be resolved by removing some of the actions to a special page as Max stated, and so that bug is a mobile-specific bug. Bug 27935 appears to be the same as this.

*** This bug has been marked as a duplicate of bug 27935 ***