Jerel_Ware_4263
Jan 18, 2010Nimbostratus
An interesting discovery...
The following iRule passes validation in the Web UI and the iRule editor, but causes the command line parser to fail load verifcation (and sync):
when HTTP_RESPONSE {
if { [HTTP::status] == "301" } {
respond with 302 using original Location value
HTTP::respond 302 Location [string map {"http://" "https://"} [HTTP::header Location]]
}
}
The problem is this section: [string map {"http://" "https://"}
If you remove the { } it still works and the command line parser no longer fails.
has anyone else had problems with this?
Running 9.4.7HF2.