Forum Discussion
ReynaldoQ_14206
Nimbostratus
Jan 31, 2018iRule Parsing error
Hello, Trying to create an iRule but getting a parse error. What am I missing or is there something with the iRule? Thanks for the help.
when HTTP_RESPONSE {
if { !([ HTTP::header ex...
Andy_McGrath
Cumulonimbus
Feb 06, 2018when HTTP_RESPONSE {
if {!([HTTP::header exists "Public-Key-Pins-Report-Only"])} {
HTTP::header insert "Public-Key-Pins-Report-Only" "{pin-sha256=\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx45y7jJLG4r045dN99e/uvFjNSMSMTmybVj3P4o3y5WguJQpl5rxGoxan7cj/Ie8aLk7H85Gm1WNVcItlfEHqQLz/1xAjyC74ug/vG6IMt5G+mRCFVn0ei1D/Bdhq2r+BO5DjlwsdQrglddZ9rVi68WcPToD6jR9vkzveCzst6UX4cN55XIgazLQ1rodA4Z5Tu1rOt6aF/MdVN3A+QT0oMOcY2vP89rLrwJo9fMS6hz3th2OwpqZvHNdRMg/1/uUP9d7xpbRjeV+X/6v7X/R6MjMC7OvY5MdcdD0SbYwb7Eb2+nTiDJBzuP+emwfEEV+OHKyuseeXZZxgcSmO3DfnwIDAQAB\"}"
}
}
Updated to include '\"' for internal double quotes
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