will_lee_113506
Mar 22, 2005Nimbostratus
Url character length limitation?
I'm in process of converting our v4.5.10 rules to v9 syntax. Our original scripts had workarounds to get around the 63/64 character limit on URIs. I believe that was in strict compliance with RFC or some standards. Anways an example of our workaround is -
if (getfield(http_uri, "/", 3) matches_regex "[Se][Ee][Rr][Vv][Ll][Ee][Tt]") {
if (getfield(http_uri, "/", 4) matches_regex "[Ss][Tt][Oo][Rr][Ee]") {
if (getfield(http_uri, "/", 5) matches_regex "[Ss][Tt][Oo][Rr][Ee]\?") {
use pool Store-Pool
Basically it looking for something that fits the pattern http://host/Servlet/Store/Store
Is there the same URI length restrictions in v9 or can I simply express the regex portion as one entire string?
thx
Will