Forum Discussion
h00ver_290951
Sep 19, 2016Nimbostratus
HTTP header insert rewrites header variable.
I am trying to insert an HTTP header variable with the following iRule:
when ACCESS_ACL_ALLOWED {
HTTP::header insert WL-Proxy-Client-Cert {Access::session data get "session.ssl.cert.whole"]
...
Lucas_Thompson_
Historic F5 Account
Always use HTTP::header replace instead of HTTP::header insert because it prevents the client pc from putting a malicious value in the original request.
Try putting quotes around the header name. TCL usually is good about guessing that stuff but maybe it's not guessing in the desired way here.
Lucas_Thompson_
Sep 20, 2016Historic F5 Account
Could you paste your irule exactly as it appears in the GUI?
I just noticed in your example above you've got a curly brace and a square brace in a strange area.
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