Jay_Allison_400
May 22, 2007Nimbostratus
URI replace help
quite simply i'm trying to replace certain characters in a URI path with other characters, this was my first stab at it, doesn't seem to be working, any suggestions?
when HTTP_REQUEST {
URI::path [string map {~ ~ZZ % ~} [HTTP::uri]]
}
Tried a few other variations including backslashes and this
when HTTP_REQUEST {
URI::path [string map {~ ~ZZ % ~} URI::path]
}
haven't hit on one one that has worked yet