[Mono-devel-list] [patch] URL Rewrite problem

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Nov 8 17:09:31 EST 2004

On Fri, 2004-11-05 at 00:57 +0100, Denis Gervalle wrote:
> Gonzalo,
> you have recently (in 1.0.4) apply a useful patch to distinguish 
> properly Request.FilePath and Request.CurrentExecutionFilePath. This 
> have had some unexpected side effects:
>     - URL rewriting (Context.RewritePath) does not work anymore due to a 
> wrong calculation of Request.PhysicalPath. An HttpException is thrown in 
> System.Web.HttpApplication:CreateHttpHandler.
>     - the computation of the Action property of HtmlForm (and 
> consequently the action attribute of a web form) is no more appropriate 
> and does not produce expected result when URL rewritting is used 
> (especially, when this rewritting stay hidden by using 2 rewrites)
> You will find attached 2 patch proposals that should fix these issues. 
> Since I have no CVS access, after your careful review, could you also 
> check them in.

Thanks Denis. Your patch is in CVS HEAD now. If there are no problems
reported, I'll commit to the 1-0 branch after a week or so.


More information about the Mono-devel-list mailing list