[Mono-bugs] [Bug 76443][Wis] New - <httpHandlers>: path matching bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Oct 14 18:14:18 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=76443

--- shadow/76443	2005-10-14 18:14:18.000000000 -0400
+++ shadow/76443.tmp.25068	2005-10-14 18:14:18.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 76443
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: robertj at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: <httpHandlers>: path matching bug
+
+Path components are not supported when applied to handlers:
+
+<httpHandlers>
+  <!-- BAD -->
+  <add verb="*" path="foo/*.ashx" ... />
+
+  <!-- good -->
+  <add verb="*" path="*.ashx" ... />
+</httpHandlers>
+
+
+The problem is in
+System.Web.Configuration/HandlerFactoryConfiguration.cs:
+
+HttpHandler.PathMatches(string) considers only the last
+path component of the path to be matched against
+the regexp constructed from "foo/*.ashx".


More information about the mono-bugs mailing list