httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart van der Schans <b.vandersch...@onehippo.com>
Subject Re: Ip address parser bug?
Date Wed, 25 Jan 2012 18:16:38 GMT
Hi,

On Wed, Jan 25, 2012 at 7:05 PM, Mathijs <mathijssch@gmail.com> wrote:
> Using comments on the same line as configuration directives is not allowed
> (although it will probably work in some cases), see the second paragraph
> on http://httpd.apache.org/docs/trunk/configuring.html#syntax

Thanks. Than it's no bug at all. I guess I should have read the manual first ;-)

Regards,
Bart

>
> Kind Regards,
> Mathijs - Sling @ irc://irc.freenode.net/httpd
>
> On Wed, Jan 25, 2012 at 6:58 PM, Bart van der Schans
> <b.vanderschans@onehippo.com> wrote:
>>
>> Hi all,
>>
>> Recently I ran into a strange ip parsing bug in a Allow from or Deny
>> from statement. When you have a colon in comment after the from <ip>
>> statement like this:
>>
>> Allow from 66.6.6.6 # test : in comment
>>
>> You get an error with: "The specified IP address is invalid."
>>
>> Is this a known issue?
>>
>> If you want to reproduce it in the test suite, just add "# test : in
>> comment" in t/modules/access.t on line 27 (trunk r1235848).
>>
>> Regards,
>> Bart
>
>
>
>
> --
> Gr,
>
> Mathijs



-- 
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

Mime
View raw message