Forum Discussion
Jeffrey_42270
Nimbostratus
Nov 14, 2013HTML converter for iRules
Is there a simplified way to scrub HTML code for use in an iRule? I keep getting hung up on things that need to be escaped for TCL.
3 Replies
- What_Lies_Bene1
Cirrostratus
Are you using variables in the HTML code? If not, there's a pretty simple fix.
- Jeffrey_42270
Nimbostratus
No. Its just straight HTML code.
- What_Lies_Bene1
Cirrostratus
This should work fine;
when HTTP_REQUEST { HTTP::respond 200 content { Blocking Page You got blocked buddy. Try using a valid URI. } }
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