For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Paul_Lueders's avatar
Paul_Lueders
Icon for Altostratus rankAltostratus
Aug 24, 2017

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

  • 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

     

  • 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?