DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15938>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15938

regex not matching uri's with isapi_redirector2.dll 2.0.2

           Summary: regex not matching uri's with isapi_redirector2.dll
                    2.0.2
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


PCRE 3.9 reports a match between $localhost/students/(.+)?/servlet/(.+)?$ and 
localhost/students/username/servlet/HelloWorldExample, however 
isapi_redirector2.dll reports no match.

When requesting http://localhost/students/username/servlet/HelloWorldExample 
through isapi_redirector2.dll, none of the following workers2.properties uri's 
report a match despite reporting a match with PCRE 3.9:

$localhost/students/(.+)?/servlet/(.+)?$
$http://localhost/students/(.+)?/servlet/(.+)?$
$/students/(.+)?/servlet/(.+)?$
$localhost/students/(.*)?/servlet/(.*)?$
$http://localhost/students/(.*)?/servlet/(.*)?$
$/students/(.*)?/servlet/(.*)?$
$(.*)?$

I don't know a whole lot about PCRE, so I first figured it was me. But when the 
developers example of [uri:$/examples/(?!\w*\.(gif|jpg)$)] was reported by the 
ISAPI filter as NOT a servlet match for a gif file in the examples context, I 
became suspicious of it being the filter.

Using isapi_redirector2.dll version 2.0.2 on W2K Standard Server SP3, IIS 5.0, 
Tomcat 4.1.18, JDK 1.4.1_01. Non-regex uri mappings work fine.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to