Re: case-insensitive hdr_sub

From: Ben Koski <ben.koski#gmail.com>
Date: Thu, 15 Jul 2010 15:40:25 -0400


ignore me please. Just answered my own question

int acl_match_sub(struct acl_test *test, struct acl_pattern *pattern) {
...

    icase = pattern->flags & ACL_PAT_F_IGNORE_CASE;     if (icase) {
...

The following ACL flags are currently supported :

  -i : ignore case during matching of all subsequent patterns.
  -f : load patterns from a file.
  -- : force end of flags. Useful when a string looks like one of the flags.


On Thu, Jul 15, 2010 at 3:30 PM, Ben Koski <ben.koski#gmail.com> wrote:
>
> hdr_sub seems to be case-sensitive. Is there any way around this short of
using hdr_reg?
>
> Thanks,
> Ben
Received on 2010/07/15 21:40

This archive was generated by hypermail 2.2.0 : 2010/07/15 21:45 CEST