[Mono-dev] PathInfo problem in System.Web

Vladimir Krasnov vladimirk at mainsoft.com
Wed Mar 15 09:01:37 EST 2006


Hello,

I've found a problem with retrieving requested URL if path info is added
to it. I've checked Request.Url and Request.ServerVariables["URL"].
Request.Url returns URL where path info appears twice.
Request.ServerVariables["URL"] returns URL with path info but should
return without it. 
The attached example reproduces the problem.

I've attached two patches that fix these problems, please approve.

Vladimir Krasnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpRequest.cs.1.patch
Type: application/octet-stream
Size: 374 bytes
Desc: HttpRequest.cs.1.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060315/086afe27/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServerVariablesCollection.cs.1.patch
Type: application/octet-stream
Size: 488 bytes
Desc: ServerVariablesCollection.cs.1.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060315/086afe27/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.zip
Type: application/x-zip-compressed
Size: 1156 bytes
Desc: example.zip
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060315/086afe27/attachment.bin 


More information about the Mono-devel-list mailing list