Forum Discussion
ottleydamian
Aug 17, 2020Cirrus
Replace X-Frame-Options value
I need help with my syntax because it is not identifying and changing the text/value as expected. The response header in question is: X-FRAME-OPTIONS: ALLOW-FROM https://my.identitymanager.com:84...
Hello Ottley.
Try this instead
HTTP::header replace X-Frame-Options "ALLOW-FROM https://biz.identitymanager.com:8443"
Regards,
Dario.
Aug 18, 2020
Or even this:
set XFO [string map -nocase {"my.identitymanager.com" "biz.identitymanager.com"} [HTTP::header value X-FRAME-OPTIONS]]
HTTP::header remove X-FRAME-OPTIONS
HTTP::header insert X-Frame-Options $XFO
Regards,
Dario.
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