iRule Security 101 - #03 - HTML Comments
Published Aug 29, 2007
Version 1.0Was this article helpful?
s///msg;
You'll note that I took a different approach to matching. I'm not sure it's better, bit it is different, for sure. 🙂 The idea was to make sure I was allowing "anything" except sequences that would mean something special. I settled on this approach while trying to match a bunch of fairly complex and malformed-looking comments. I'm not sure I solved the problem perfectly, but I did solve it for the test cases I was interested in.