Forum Discussion
BlurredVision_1
Nimbostratus
Jan 30, 2008CCN Scrubber not matching card numbers...
All,
I am working on an iRule demo to show people how darn powerful these things are. The CCN Scrubber is an ideal candidate. Only thing is I can't get it working.
As I am putting t...
BlurredVision_1
Nimbostratus
Jan 30, 2008I am running v9.4.2. I think the issue to get this working (optimisations aside for the moment, this is just to show it working as a Proof of Concept) is going to be Content-Type evaluation so we are only validating text content...
Joe mentioned in his 2006 post :Good point. I've updated the wiki sample with a check to only test for text based responses (ie. Content-Type starts_with "text/"). If you need to be more specific, you could easily create a data group containing the content types you want to check for and replace my conditional with a matchclass command comparing the content-type to a member of the data group.
but there does not seem to be a Content-Type check in the wiki listed iRule any more.
Ill try this and see how I go:
when HTTP_RESPONSE {
if { [HTTP::header "Content-Type"] starts_with "text/" } {Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects