Re: why does latest jessie apache2 reject _ in http request path
- Date: Wed, 8 Mar 2017 22:04:05 +0200
- From: Juha Heinanen <jh@xxxxxxxxxx>
- Subject: Re: why does latest jessie apache2 reject _ in http request path
> > Why is it that if I have _ in my segment, apache2 rejects the request
> > without 'HttpProtocolOptions strict'?
> Try setting
> Loglevel core:debug http:debug
> and look if the error log provides more information.
Thanks for your help. The above didn't show all headers, but I found
the bug in the curl function call of the client:
'POST $location HTTP/1.0',
The last line should of course be:
'Host: ' . $site,
Otherwise the header looks like this:
which then gets rejected due to the $ char in hostname.