From: Brian Landers (brian.landers@gmail.com)
Date: Sat Jan 10 2009 - 13:30:08 ARST
Without the * at the end, the rule will not match URL's such as
http://example.com/image.jpg?12345 which is not only fairly common
(for cache busting), but also an easy way for someone with nefarious
intentions to get around filtering.
Brian Landers
CCIE #23115
On Sat, Jan 10, 2009 at 8:53 AM, Roger RPF <rpf@bluemail.ch> wrote:
> Well, I would say you do not need the * at the end because the * stands for
> a wildcard and as far as I know theres is nothing coming after .jpeg in the
> url....
>
> regards
>
> Roger
>
> -----Urspr|ngliche Nachricht-----
> Von: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Im Auftrag von
> John Edom
> Gesendet: Samstag, 10. Januar 2009 14:36
> An: GS
> Betreff: NBAR url match
>
> hi,
>
> Tell me is it correct to match http .gif, .jpeg, jpg images
>
> class-map match-any HTTP
> match proto http url "*.gif*"
> match proto http url "*.jpeg*"
> match proto http url "*.jpg*"
>
>
> sorry for large font but what you should you clear :)
>
> I have found some solution without * at end that seems correct as well and a
> solution where only one statement configure and all images type separate
> with | sign.
>
> Regards
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:37 ARST