httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apachen/src/main http_core.c
Date Tue, 09 Sep 1997 18:55:10 GMT


On Tue, 9 Sep 1997, Alexei Kosut wrote:

>   +	if (old_path && cmd->path[0] != '/')
>   +	    cmd->path = pstrcat(cmd->pool, old_path, cmd->path, NULL);
>   +
>   +	/* Ensure that the pathname is canonical */
>   +	cmd->path = os_canonical_filename(cmd->pool, cmd->path);
>        }
>   -    else if (old_path && cmd->path[0] != '/')
>   -	cmd->path = pstrcat(cmd->pool, old_path, cmd->path, NULL);

This looks like another spot that requires ap_is_absolute_path.

Dean


Mime
View raw message