[c-nsp] ACE Regex filtering for url match trouble with %
Christian Koch
christian at broknrobot.com
Sun Aug 24 23:02:26 EDT 2008
have you tried adding " \ " in front of the " % " character?
On Sun, Aug 24, 2008 at 10:32 PM, <ben.steele at internode.on.net> wrote:
>
>
> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
> Hi,
>
> Has anyone had any issues with filtering anything with a % sign in
> the url when trying to match for url filtering.
>
> Example:
>
> class-map type http inspect match-any SQL_FILTER
> 2 match url .[Ee][Xx][Ee][Cc]@.*
> 3 match url .[Ss][Ee][Ll][Ee][Cc][Tt]%20.*
>
> The first string will match no problem, but the second one won't,
> i've tried all different methods of matching the % sign like 'ing it,
> putting it in [] etc. in theory the above should just work with
> something like http://www.bla.com/SELECT%20test.html [1] as it does
> with EXEC@ but it doesn't, anyone got any ideas or had similar issues,
> just want to check here before I raise a TAC.
>
> Cheers
>
> Ben
>
>
> Links:
> ------
> [1] http://www.bla.com/SELECT%20test.html
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list