[Mono-dev] PathInfo problem in System.Web

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Mar 21 12:54:37 EST 2006


On Wed, 2006-03-15 at 06:01 -0800, Vladimir Krasnov wrote:
> 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.

Hi Vladimir.

I don't remember approving these patches and you commited them anyway. I
have reverted the HttpRequest part The one in ServerVariablesCollection
is ok, but I'm pretty sure that the one in HttpRequest will make an old
bug appear again.

I need a bug report with a test case that fails without your patch. Then
I will try searching bugzilla for the problem I was referring to and
show you how it breaks, which probably means that we need a different
patch.

-Gonzalo





More information about the Mono-devel-list mailing list