]> git.mjollnir.org Git - s9y.git/commitdiff
also allow "+" in bbcode urls, thanks to leif from the forums
authorgarvinhicking <garvinhicking>
Sat, 29 Apr 2006 15:39:42 +0000 (15:39 +0000)
committergarvinhicking <garvinhicking>
Sat, 29 Apr 2006 15:39:42 +0000 (15:39 +0000)
plugins/serendipity_event_bbcode/serendipity_event_bbcode.php

index ded4d9f3c3b4475aa4ef8eae87996620ce29f0a0..c8a7cf903c63b353e97e30927b312e53712d70f2 100644 (file)
@@ -149,7 +149,7 @@ class serendipity_event_bbcode extends serendipity_event
         static $pattern_mail  = '([\.\-\+~@_0-9a-z]+?)';
 
         // Only allow strings occuring in URLs: &;?:.-_@/, 0-9, a-z
-        static $pattern_url   = '([@!=~\?:&;0-9a-z#\.\-_\/,%]+?)';
+        static $pattern_url   = '([@!=~\?:&;0-9a-z#\.\-_\/,%\+]+?)';
 
         // Disallow possibly evil HTML characters which may lead to Javascript XSS: '"();
         static $pattern_query = '([^"\'\(\);]+?)';