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:
060c767
)
use rawurldecode instead of str_replace, from brion
author
River Tarnell
<river@users.mediawiki.org>
Mon, 21 May 2007 19:50:37 +0000
(19:50 +0000)
committer
River Tarnell
<river@users.mediawiki.org>
Mon, 21 May 2007 19:50:37 +0000
(19:50 +0000)
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
04fe150
..
a5a550b
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( str_replace("+", "%2B", $raw)
) );
+ $matches = array( 'title' =>
rawurldecode( $raw
) );
if( $key ) {
$matches[$key] = $keyValue;
}