Changeset 3067

Show
Ignore:
Timestamp:
07/11/2008 10:03:11 AM (5 months ago)
Author:
Shadowhand
Message:

Another fix for #684, go go gadget Geert!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Router.php

    r3061 r3067  
    6767 
    6868                // Remove all dot-paths from the URI, they are not valid 
    69                 self::$current_uri = preg_replace('#\.++/++#', '', self::$current_uri); 
     69                self::$current_uri = preg_replace('#\.++\s*/++#', '', self::$current_uri); 
    7070 
    7171                // At this point segments, rsegments, and current URI are all the same 
     
    9898                        // Add the segment to the search path 
    9999                        $controller_path .= $segment; 
     100 
    100101 
    101102                        $found = FALSE;