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:
d9f54d0
)
Debug code, gah.
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 31 Aug 2007 04:48:45 +0000
(
04:48
+0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 31 Aug 2007 04:48:45 +0000
(
04:48
+0000)
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
af150d3
..
f2dcbf9
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-798,8
+798,6
@@
class Sanitizer {
$id = urlencode( Sanitizer::decodeCharReferences( strtr( $id, ' ', '_' ) ) );
$id = str_replace( array_keys( $replace ), array_values( $replace ), $id );
- echo "flags = $flags, ~flags & Sanitizer::INITIAL_NONLETTER = ".(~$flags&Sanitizer::INITIAL_NONLETTER).", id=$id\n";
-
if( ~$flags & Sanitizer::INITIAL_NONLETTER
&& !preg_match( '/[a-zA-Z]/', $id[0] ) ) {
// Initial character must be a letter!