Re: issue with acl pattern -m match on a string starting with space or containing a comma, with 1.5-dev21

2014-01-17 Thread Cyril Bonté
Le 17/01/2014 21:06, PiBa-NL a écrit : Though the proper section is a bit harder to find a "search for keyword" doesn't give any results.. This is in my to do list, I hope to find time to address this soon. -- Cyril Bonté

Re: issue with acl pattern -m match on a string starting with space or containing a comma, with 1.5-dev21

2014-01-17 Thread PiBa-NL
Hi, Indeed req.fhdr(x) works for this. I should (again) have read the manual better. Though the proper section is a bit harder to find a "search for keyword" doesn't give any results.. Nevertheless i should r.t.fine.m. as it is very complete and correct for pretty much every option possible.

Re: issue with acl pattern -m match on a string starting with space or containing a comma, with 1.5-dev21

2014-01-17 Thread Thierry FOURNIER
Hi, First, you must not escape the comma character. The fetch method "hdr" split multivalue header before the pattern matching operation. The header "user-agent" containing comma is processed like two headers: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML and like Gecko)