Forum Discussion
PeterC_70986
Nimbostratus
Nov 30, 2018Quotation Mark in a Header Insert irule gets changed to a colon
I am using the below irule to insert a response header.
when HTTP_RESPONSE {
HTTP::header insert "Link: https://www.mysite.com/pages/other/business.html; rel="canonical"
}
However when the ...
Kevin_Stewart
Employee
Nov 30, 2018Try escaping the quotes.
when HTTP_RESPONSE {
HTTP::header insert "Link" "https://www.mysite.com/pages/other/business.html; rel=\"canonical\""
}
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