]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
allow full unicode into links for tags
authorBrenda Wallace <shiny@cpan.org>
Mon, 20 Jul 2009 02:02:52 +0000 (14:02 +1200)
committerBrenda Wallace <shiny@cpan.org>
Mon, 20 Jul 2009 02:02:52 +0000 (14:02 +1200)
lib/router.php

index 5e0fcfc9465e0cc2feac4d5e5b612271e3b7ee88..8e48364979a3ff9c59a51f5d325164ced8ccd249 100644 (file)
@@ -211,7 +211,7 @@ class Router
                     array('tag' => '[a-zA-Z0-9]+'));
         $m->connect('tag/:tag',
                     array('action' => 'tag'),
-                    array('tag' => '[a-zA-Z0-9]+'));
+                    array('tag' => '[\pL\pN_\-\.]{1,64}'));
 
         $m->connect('peopletag/:tag',
                     array('action' => 'peopletag'),