Forum Discussion
jwood2
Nimbostratus
Feb 04, 2020HTTP -> HTTPS redirect described in K26312346 failed pentest scan
I recently had a pentest performed against a virtual server and the implementation I chose for HTTP to HTTPS redirection failed the audit. I had implemented the HTTP to HTTPS policy described in K26...
jwood2
Nimbostratus
Feb 04, 2020I agree that the finding is a bit weak but I'm still obligated to address it. What being said, I agree with you that the easiest way to fix this is probably with an iRule, but I was wondering specifically how I could implement this sanity check for '[HTTP::uri] starts_with "/"' in a policy. I think I found my answer, within the policy I have configured:
Match all the following conditions:
HTTP URI path begins with any of / at request timeDo the following when traffic is matched:
Redirect to location tcl:https://[getfield [HTTP::host] : 1][HTTP::uri] at request timeHelp 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
