Strip If-Modified-Since header to a valid timestamp in ResourceLoader; some clients...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 2 Dec 2010 16:54:06 +0000 (16:54 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 2 Dec 2010 16:54:06 +0000 (16:54 +0000)
commit94f888278b778ab5239954f87b167a72a71f826d
tree74740ea27b0f57ed67e6e12aa43071e3893ffd54
parent5173c6abe05ee7bf5256fa5e68b320458a9b211c
Strip If-Modified-Since header to a valid timestamp in ResourceLoader; some clients (notably IE) append things like ;length=123. This is valid according to the HTTP spec but rarely used (and ignored by us). The recent wfTimestamp() rewrite caused a fatal error in wfTimestamp() when such a timestamp was fed to it. r77401 fixed this by trimming the timestamp in wfTimestamp() itself, but for cleanliness we should do this in RL too.
includes/resourceloader/ResourceLoader.php