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:
413e7f9
)
Make sure fragments for Titles are urlencoded
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Thu, 1 Jan 2009 01:27:40 +0000
(
01:27
+0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Thu, 1 Jan 2009 01:27:40 +0000
(
01:27
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
122d5c2
..
e6a414a
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-452,8
+452,8
@@
class Title {
*/
static function escapeFragmentForURL( $fragment ) {
global $wgEnforceHtmlIds;
- return Sanitizer::escapeId( $fragment,
- $wgEnforceHtmlIds ? array() : 'xml' );
+ return
wfUrlencode(
Sanitizer::escapeId( $fragment,
+ $wgEnforceHtmlIds ? array() : 'xml' )
)
;
}
#----------------------------------------------------------------------------