httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: r->filename check
Date Sat, 25 Oct 2003 18:26:44 GMT
Ted Rolle wrote:
> Is that a show-stopper?
>>has any decision been made on the answer to the question "what should
>>r->filename be if a module determines in the translate_name hook that
>>the uri does not map to any file that the web server can see?" ?

It's a show-stopper as in random-code gets segfaults, when someone inserts a 
trans_hook, which doesn't set r->filename. Normally we want to do that when we 
know for sure that the resource is not on the filesystem. And we want to avoid 
wastefull stat calls.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message