ciscoguy69_1623
Dec 04, 2013Nimbostratus
Contains vs starts_with behavior
In 11.x code, when the following is used, the LTM responds with a 504. when HTTP_RESPONSE { if {[HTTP::status] contains "5"} { HTTP::redirect "/client-error.html" } }
If contains is replaced with starts_with, the redirect appears to work as intended. Knowing the starts_with is the preferred method to avoid unintended matches, why would it respond with a 504 for contains?