Forum Discussion
Migrated to VE F5 version 12 and now iRule inserting double quotes
We recently migrated from the Physical F5 to the virtual edition. Most of the transition went well. We have an iRule that will pull the SAML information and then create a cookie that is used by an application for access. The cookie when it is displayed by the Web browser should have single quotes around the information, such as Cookie_name "cookie_info" Now that we switched over to the Virtual edition F5 the cookie has double quotes such as Cookie_name ""cookie_info"" I need to remove the extra quotes. It has been suggested that I use the string trim command, however I am new to iRule writing and am not sure how I would say to the system to remove the quotes from the cookie. Could someone please give me some guidance on how to remove the quotes?
Thanks
12 Replies
- Paul_Lueders
Altostratus
What would help me greatly is how do I strip of the extra quotes around the cookies. Does anyone have any suggestions on how to do this? Thanks
- Paul_Lueders
Altostratus
No matter what I have attempted when the cookie is sent to the web browser, whether it be Firefox or IE a set of double quotes is added to the cookie. As a part of troubleshooting I created a cookie that did not have any spaces and when I view the cookie in the browser there is not an additional set of double quotes added. Is there a way that I can write the iRule so that spaces are expected as a part of the iRule?
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