cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
0
Helpful
2
Replies

ACE30: Match a cookie containing slash "/"

Lubo1
Level 1
Level 1

Hi,

I am trying to configure an L7 class-map:

class-map type http loadbalance match-all ServiceXYZclassABC

  4 match http cookie secondary html.setSelected cookie-value "html/business"

But the slash in the cookie-value is not matched when traffic goes through ACE.

Configuring regex . (=meaning any single character) did not help, the traffic is matched for any other characters except slash:

  4 match http cookie secondary html.setSelected cookie-value "html.business"

Any ideas?

ACE30 with A4(1.0) software.

Thanks,

Lubomir

2 Replies 2

Cesar Roque
Level 4
Level 4

Hi Lubomir

Did you try like this:

class-map type http loadbalance match-all ServiceXYZclassABC

  4 match http cookie secondary html.setSelected cookie-value "html%2fbusiness"

-------------------------

Cesar R

--------------------- Cesar R ANS Team

Hi Cesar,

yes, I tried that before starting this discussion, no luck.

Using percent encoding helped in cookie name, e.g. ACE accepts cookie named html.setSelected/services in format html.setSelected%2Fservices.

But this encoding does not work in cookie value.

Thank you,

L.

Review Cisco Networking for a $25 gift card