httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: mod_alias.c, translate_alias_redir
Date Sun, 03 May 1998 13:30:17 GMT
Dean Gaudet wrote:
> 
> This looks like one of those cases that should be using
> ap_os_is_path_absolute().  But in fact I think it's just overzealous
> porting by the win32/emx folks.  r->uri is a uri, not a filesystem path.
> so I think it should just be changed to:
> 
>     if (r->uri[0] != '/' && r->uri[0] != '\0')
> 	return DECLINED;
> 

Yep. +1

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message