You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Doug MacEachern <do...@pobox.com> on 1998/07/13 01:58:34 UTC
sub_canonical_filename softspot under win32
With the latest from cvs, this configuration causes an access violation:
<Files *.ehtml>
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
</Files>
not sure if it helps, but the debugger shows these values:
+ b2 0x00127b5c ""
+ b3 0x00127a58 "*.ehtml"
+ buf 0x00127dbc ""
+ s 0x00000000 ""
+ szFile 0x00000000 ""
+ szFilePart 0x00000000 ""
I took the easy way out, changing the config to this:
<Files ~ "\.ehtml$">
SetHandler perl-script
PerlHandler HTML::Embperl
Options +ExecCGI
</Files>
which doesn't have any problem.
-Doug
Re: sub_canonical_filename softspot under win32
Posted by Marc Slemko <ma...@go2net.com>.
On Mon, 13 Jul 1998, Ben Laurie wrote:
> Doug MacEachern wrote:
> >
> > With the latest from cvs, this configuration causes an access violation:
> > <Files *.ehtml>
> > SetHandler perl-script
> > PerlHandler HTML::Embperl
> > Options ExecCGI
> > </Files>
>
> Isn't that just wrong? Like, you shouldn't have a * there? But, of
No, that is completely legit but screwed by the current canonicalization
routines wihc also break far too much other stuff.
> course, it shouldn't crash anyway.
I think the change I committed the other night should at least stop it
from crashing, although I haven't tried it for this case. It was trying
to copy 2^32-mumble bytes and having a few problems doing so.
>
> Care to log a bug?
>
> Cheers,
>
> Ben.
>
> --
> Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
> Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
> and Technical Director|Email: ben@algroup.co.uk |
> A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
> London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
>
> WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/
>
Re: sub_canonical_filename softspot under win32
Posted by Ben Laurie <be...@algroup.co.uk>.
Doug MacEachern wrote:
>
> With the latest from cvs, this configuration causes an access violation:
> <Files *.ehtml>
> SetHandler perl-script
> PerlHandler HTML::Embperl
> Options ExecCGI
> </Files>
Isn't that just wrong? Like, you shouldn't have a * there? But, of
course, it shouldn't crash anyway.
Care to log a bug?
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/