fwd: Re: [Mono-devel-list] SimpleWorkerRequest patch for PATH_INFO

Ben Maurer bmaurer at users.sourceforge.net
Sat Jun 14 11:02:26 EDT 2003

On Sat, 2003-06-14 at 02:12, eric lindvall wrote:
> what this does:
>  - adds PATH_INFO support
>  - updates GetFilePathTranslated() to make use of Path.Combine()
>  - gets rid of the null check in GetPathInfo() (we're setting _PathInfo to 
>    String.Empty now)
>  - fixed CreatePath() so that it doesn't return String.Empty if the 
>    _AppVirtualPath is not "/" (to match MS runtime -- does anyone know why it 
>    was returning String.Empty?)


Thank you for this patch, this may end up saving my rear ;-). It does do
a few things wrong however.

If you request http://localhost:8080/dir/path_info, you will get a 404
(tested with Cassini, IIS). If you request
http://localhost:8080/trace.axd/pathinfo, where trace.axd is handled by
a handler (as it is with MS's impl), you do get a page.

We need to figure out the way MS does this.

Also, can you please make sure that this is implemented in System.Web
under MS? I think I tested this before and it was not. 

-- Ben

More information about the Mono-devel-list mailing list