Forum Discussion

larry_p_134874's avatar
larry_p_134874
Icon for Nimbostratus rankNimbostratus
Mar 13, 2014

Equal Sign in Proxypass Regular Expression Replacement String

Recognizing that I may be misusing the proxypass irule, assuming I want to replace a string matched by a regular expression with another string that contains an equal sign, how would I protect the equal sign from being the terminator for the replacement string? I've tried other delimiters, TCL backslash and bracket protection and HTML %3D, to no avail. E.g.,

/ := =^(.*?)/$=${1}/foo.jsp?var1{=}value1&var2{=}value2&=

Where "{=}" should be replaced with a literal equal sign.

Thanks.

1 Reply

  • If anyone ends up reading this, I solved this (sort of) by replacing the hard-coded ‘=’ in the proxypass irule with another delimiter (a comma worked in my case).