|
@@ -75,7 +75,7 @@ class Router {
|
|
|
*/
|
|
|
public static $patterns = array(
|
|
|
'(:num)' => '([0-9]+)',
|
|
|
- '(:any)' => '([a-zA-Z0-9\.\-_%]+)',
|
|
|
+ '(:any)' => '([a-zA-Z0-9\.\-_%=]+)',
|
|
|
'(:all)' => '(.*)',
|
|
|
);
|
|
|
|
|
@@ -86,7 +86,7 @@ class Router {
|
|
|
*/
|
|
|
public static $optional = array(
|
|
|
'/(:num?)' => '(?:/([0-9]+)',
|
|
|
- '/(:any?)' => '(?:/([a-zA-Z0-9\.\-_%]+)',
|
|
|
+ '/(:any?)' => '(?:/([a-zA-Z0-9\.\-_%=]+)',
|
|
|
'/(:all?)' => '(?:/(.*)',
|
|
|
);
|
|
|
|