r89249 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r89248
|
r89249
|
r89250
>
Date:
02:05, 1 June 2011
Author:
tstarling
Status:
ok (
Comments
)
Tags:
Comment:
Fix for
r89248
: don't run the regex if findIE6Extension returns false. Only affects performance, the logic is the same.
Modified paths:
/trunk/phase3/includes/WebRequest.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/WebRequest.php
—
—
@@ -884,7 +884,7 @@
885
885
}
886
886
887
887
$extension = self::findIE6Extension( $_SERVER['QUERY_STRING'] );
888
- if ( $extension === '' ) {
888
+ if ( strval( $extension ) === '' ) {
889
889
return false;
890
890
}
891
891
Follow-up revisions
Revision
Commit summary
Author
Date
r89291
Document
r89248
,
r89249
isQueryStringBad()
platonides
21:22, 1 June 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r89248
* Only blacklist query string extensions which match /^[a-zA-Z0-9_-]+$/. This...
tstarling
02:01, 1 June 2011
Comments
#
Comment by
Tim Starling
(
talk
|
contribs
)
06:47, 5 July 2011
Untagging 1.17wmf1 since it has been superseded by
r91440
.
Status & tagging log
06:47, 5 July 2011
Tim Starling
(
talk
|
contribs
)
changed the
tags
for r89249
[
removed:
1.17wmf1]
19:10, 7 June 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r89249
[
removed:
1.17]
13:48, 1 June 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r89249
[
added:
1.17,1.17wmf1]
13:37, 1 June 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r89249
[
removed:
new
added:
ok]