Forum Discussion
Vince_Beltz_959
Sep 21, 2011Nimbostratus
String Map Fail?
Argh. Can't seem to edit out all that MS crap up there, because I copied this in from an email.
I'm trying to build a function allowing search-and-replace of substrings within a URI. ...
Vince_Beltz_959
Sep 21, 2011Nimbostratus
Thanks, Hoolio - I updated my post to show a value being set for $httpuri - this is being excerpted from a larger rule. Point taken on set HTTP:uri v. just HTTP:uri, but my main problem seems to be with:
set $newuri [string map [list $urisearch $urireplace] $httpuri]
(or, all I really want):
HTTP::urii [string map [list $urisearch $urireplace] $httpuri]
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects