Changeset 699

Show
Ignore:
Timestamp:
03/01/08 11:02:30 (9 months ago)
Author:
scorfield
Message:

Fixes #313 by correcting off-by-one error on file path test. Thanx Derek!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/trunk/corefiles/myFusebox.cfc

    r685 r699  
    130130                        <!--- looks like SES URL generation is enabled, process CGI.PATH_INFO (we add &= to catch improperly formed URLs) ---> 
    131131                        <!--- ticket 313 - canonicalize pathInfo for IIS 5 ---> 
    132                         <cfif len(pathInfo) gte len(CGI.SCRIPT_NAME) and left(pathInfo,len(CGI.SCRIPT_NAME)) is CGI.SCRIPT_NAME> 
     132                        <cfif len(pathInfo) gt len(CGI.SCRIPT_NAME) and left(pathInfo,len(CGI.SCRIPT_NAME)) is CGI.SCRIPT_NAME> 
    133133                                <cfset pathInfo = right(pathInfo,len(pathInfo)-len(CGI.SCRIPT_NAME)) /> 
    134134                        </cfif>