Last modified: 2011-08-09 16:55:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32283, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30283 - Escaped "percentified" URIs result in different version than unescaped ones
Escaped "percentified" URIs result in different version than unescaped ones
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-09 08:45 UTC by Jörn Hees
Modified: 2011-08-09 16:55 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jörn Hees 2011-08-09 08:45:30 UTC
For example when i use curl -I on http://en.wikipedia.org/wiki/Asteroids_(video_game) or on http://en.wikipedia.org/wiki/Asteroids_%28video_game%29 i get two different versions (> 1 week difference). Notice that the page wasn't actually modified since July 27th though:

curl -I 'http://en.wikipedia.org/wiki/Asteroids_(video_game)'
HTTP/1.0 200 OK
Date: Fri, 05 Aug 2011 23:39:12 GMT
Server: Apache
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Content-Language: en
Vary: Accept-Encoding,Cookie
Last-Modified: Thu, 28 Jul 2011 14:56:34 GMT
Content-Length: 66064
Content-Type: text/html; charset=UTF-8
X-Cache: HIT from sq74.wikimedia.org
X-Cache-Lookup: HIT from sq74.wikimedia.org:3128
Age: 287696
X-Cache: HIT from knsq28.knams.wikimedia.org
X-Cache-Lookup: HIT from knsq28.knams.wikimedia.org:3128
X-Cache: MISS from amssq45.esams.wikimedia.org
X-Cache-Lookup: MISS from amssq45.esams.wikimedia.org:80
Connection: close

curl -I 'http://en.wikipedia.org/wiki/Asteroids_%28video_game%29'
HTTP/1.0 200 OK
Date: Wed, 27 Jul 2011 00:30:54 GMT
Server: Apache
Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
Content-Language: en
Vary: Accept-Encoding,Cookie
Last-Modified: Tue, 26 Jul 2011 02:04:23 GMT
Content-Length: 65927
Content-Type: text/html; charset=UTF-8
X-Cache: HIT from sq64.wikimedia.org
X-Cache-Lookup: HIT from sq64.wikimedia.org:3128
Age: 1150535
X-Cache: HIT from amssq40.esams.wikimedia.org
X-Cache-Lookup: HIT from amssq40.esams.wikimedia.org:3128
X-Cache: MISS from amssq46.esams.wikimedia.org
X-Cache-Lookup: MISS from amssq46.esams.wikimedia.org:80
Connection: close
Comment 1 Derk-Jan Hartman 2011-08-09 11:56:31 UTC
See also: bug 21027

The cause is that Squid caches based on request, not on result.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links