Forum Discussion
ChrisMaKi_15830
Nimbostratus
Mar 06, 2008set lower case to cookie name
Hi guys,
I'm a newbee to this forum and to irules in fact.
I need to block a cookie to avoid manipulation of our cms. Let's call this cookie "badc"
Now my code to do this looks like this:
when HTTP_REQUEST {
if { [HTTP::cookie exists "badc"] } {
HTTP::cookie remove "badc"
}
}
Now this will work fine but I have a serious mistake in this code. How can I set the lowercase thing to avoid somebody using a cookie called "BadC" or similar.
Thanks for the help!
Chris
No RepliesBe the first to reply
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