Changeset 1733

Show
Ignore:
Timestamp:
08/27/08 22:18:40 (4 months ago)
Author:
lmajano
Message:

Potential fix for numerical routing matching

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • coldbox/trunk/system/interceptors/ses.cfc

    r1728 r1733  
    274274                        <!--- Replace -numeric with regex equiv ---> 
    275275                        <cfset thisPattern = REReplace(thisRoute.pattern, ":.[^-]*?/", "([^/]+?)/", "all") /> 
    276                         <cfset thisPattern = REReplace(thisPattern, ":.*?-numeric/", "(([0-9]+)+?)/", "all") /> 
     276                        <cfset thisPattern = REReplace(thisPattern, ":.*?-numeric/", "([0-9]+?)/", "all") /> 
    277277                         
    278278                        <!--- Try to match this route against the URL ---> 
    279279                        <cfset match = REFindNoCase(thisPattern,requestString,1,true) /> 
    280                  
     280                       <cfdump var="#requestString#"><cfabort> 
    281281                        <!--- If a match was made, use the result to route the request ---> 
    282282                        <cfif (match.len[1] IS NOT 0 AND getProperty('looseMatching')) OR  

Copyright 2006 ColdBox Framework by Luis Majano