This Sanitizer::EVIL_URI_PATTERN is completely inadequate for actual security as...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sun, 14 Aug 2011 14:59:26 +0000 (14:59 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sun, 14 Aug 2011 14:59:26 +0000 (14:59 +0000)
commit22b0fc2f103bb3ee348e1af588311eda801129a3
tree9b23d03e3951aba5c111c8cb5029259724dc86a9
parent3b9dfce1638053a6d36af919393f14df9abba774
This Sanitizer::EVIL_URI_PATTERN is completely inadequate for actual security as there are numerious ways to bypass blacklisting.
Since it's only used right now for paranoia in cases you currently can't actually exploit a browser we let it slide.
However this thing needs a big fat warning message next to it to avoid someone thinking this is actually a good idea for security and ending up later on using it and opening up an XSS hole in core.
includes/Sanitizer.php