Forum Discussion
Strip escape \ from session variable
This just stripped the first \ leaving \\server\share\folder1\username.
Support recommended adding -decode after mcget: expr { [mcget -decode {session.ad./DEFAULT/Multi_Domain_Auth_act_active_directory_query_12_ag.attr.homeDirectory}] }
That didn't make any difference. It might not work with v11.6 Engineering HF5.
V12.0 399693 It is now possible to use the -decode option for mcget command of a branch rule to decode a session variable before using it. When you create an agent and add a branch rule, the default value of the rule contains an mcget command to fetch the session variable. By default, the session variable is HEX encoded if it contains non-ASCII characters. You need to modify the command in advanced mode and insert the -decode option for mcget command, for example: expr { [mcget -decode {session.ad.last.attr.memberOf}] contains "non-ASCII-characters" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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