[squid-users] [PATCH]: Fix whitespace in ACL files.

From: Gianni Tedesco <gianni@dont-contact.us>
Date: 16 Jan 2003 00:45:32 +0000

Hello,

There is a bug in the code which parses ACL files. The code which is
supposed to "skip leading and trailing whitespace" actually breaks ACLs
with spaces in them.

The attached patch fixes that behaviour and it now works as documented.
Leading and trailing whitespace is ignored, and ACLs in files are read
one per line.

We bumped in to this problems loading regex files where our regexes had
spaces in them.

-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

Received on Thu Jan 16 2003 - 02:28:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:41 MST