dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8014e2
)
replace + with %2B in REQUEST_URI before urldecoding the title, so that literal ...
author
River Tarnell
<river@users.mediawiki.org>
Mon, 21 May 2007 19:41:56 +0000
(19:41 +0000)
committer
River Tarnell
<river@users.mediawiki.org>
Mon, 21 May 2007 19:41:56 +0000
(19:41 +0000)
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
5ba1203
..
04fe150
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-122,7
+122,7
@@
class WebRequest {
if( substr( $path, 0, $baseLen ) == $base ) {
$raw = substr( $path, $baseLen );
if( $raw !== '' ) {
- $matches = array( 'title' => urldecode(
$raw
) );
+ $matches = array( 'title' => urldecode(
str_replace("+", "%2B", $raw)
) );
if( $key ) {
$matches[$key] = $keyValue;
}