acl_addr(): Properly parse acl directives with ports when compiled with HAVE_RFC2553
authorFabian Keil <fk@fabiankeil.de>
Sun, 27 Dec 2015 12:53:39 +0000 (12:53 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 27 Dec 2015 12:53:39 +0000 (12:53 +0000)
commit6ad05e0db78b83910934edeee80f83058c6a8334
tree554dcbe727ba0748182f6c25676769a10fa30a7a
parent67531cf995def935da41ee91ccb7e356cac876eb
acl_addr(): Properly parse acl directives with ports when compiled with HAVE_RFC2553

Previously the port wasn't removed from the host and in case of
'permit-access 127.0.0.1 example.org:80' Privoxy would try (and fail)
to resolve "example.org:80" instead of example.org.

Reported by Pak Chan on ijbswa-users@.
filters.c