dash not allowed in custom routed uri since 1.7? |
[eluser]thenetmonkey[/eluser]
Hello, I've just encountered a strange problem since upgrading from 163 to 170: the router isn't letting me use a - (dash) in my uri segments anymore. The following route is setup in config/routes.php: Code: $route['feed/(:any)'] = '/feed/index/$1'; with this rule in place, the following URL used to work: http://www.wineconsigners.com/feed/wine-searcher Now, however, I get a 404 page thrown even before the constructor for my feed class is built ( I put a show_error( 'feed' ); in my feed constructor just after the parent::Controller(); call and I still get the 404 ) The URL works fine when I take the dash out, so I've just told my vendor to use the new feed URL of http://www.wineconsigners.com/feed/winesearcher and it's working fine. I asked around on IRC and someone named [OES] suggested I try using this route: Code: $route['feed/(.*)'] = '/feed/index/$1'; and that regexp didn't work either. My permitted_uri_chars looks like this: Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\+'; I tried doing a diff between the 163 Router.php and 170 Router.php lib, but there are only a couple differences, and none of them look like they have anything to do with handling dashes, but I could be wrong. I'm running PHP Version 4.3.10-22 on Apache 1.3.33. Has anyone else ran into this when the upgraded to 170? Is there a known fix? Should I file a bug report? Thanks in advance for your help. Billy |
Messages In This Thread |
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-01-2008, 05:42 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 10:18 AM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 12:02 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 01:09 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 01:48 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 02:01 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 02:23 PM
dash not allowed in custom routed uri since 1.7? - by El Forum - 12-02-2008, 03:44 PM
|