Forum Discussion
Cookie Encryption issue, lots of errors
where exactly "here" did you find this irule?
it seems, but my TCL knowledge is not at expert level, this has something to do with performing a lsearch (list search) on a string. where apparently a string is not always the same as a list, see also:
http://www.doxer.org/resolved-tcl-error-list-element-in-quotes-followed-by-instead-of-space-while-executing-tcl/
so it seems some cookie names are so odd to lsearch they aren't seen as a list. in principle you might want to drop using lsearch but a quick search hasn't gotten me a good alternative.
you could try to advise from the doxer.org link, but no guarantees.
try replacing the current part
[lsearch -all -inline [HTTP::cookie names] $static::ck_pattern]
with
[lsearch -all -inline [split [HTTP::cookie names]] $static::ck_pattern]
on both HTTP_REQUEST AND HTTP_REPONSE event
i tested it and for me it still worked, so that is fine. you will have to check if this still encrypts cookies and doesn't cause the errors anymore.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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