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:
75d16c9
)
Also add " to disallowed URI characters, per RFC 2396, fixing
author
Wil Mahan
<wmahan@users.mediawiki.org>
Mon, 11 Oct 2004 22:10:14 +0000
(22:10 +0000)
committer
Wil Mahan
<wmahan@users.mediawiki.org>
Mon, 11 Oct 2004 22:10:14 +0000
(22:10 +0000)
some more test cases.
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
04ac280
..
1e53ef8
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-38,7
+38,7
@@
define( 'UNIQ_PREFIX', 'NaodW29');
define( 'URL_PROTOCOLS', 'http|https|ftp|irc|gopher|news|mailto' );
define( 'HTTP_PROTOCOLS', 'http|https' );
# Everything except bracket, space, or control characters
-define( 'EXT_LINK_URL_CLASS', '[^]<>\\x00-\\x20\\x7F]' );
+define( 'EXT_LINK_URL_CLASS', '[^]<>
"
\\x00-\\x20\\x7F]' );
# Including space
define( 'EXT_LINK_TEXT_CLASS', '[^\]\\x00-\\x1F\\x7F]' );
define( 'EXT_IMAGE_FNAME_CLASS', '[A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF]' );