Forum Discussion
jsgibbs1
Nimbostratus
Jul 15, 2015Scan command irule with URI encoding
iRulers,
I need to set the SSL Cert and separate the Subject DN attributes to reference later. This works when not URI encoding, though that's what I need. Can SCAN handle this? I have tested th...
Kevin_Stewart
Employee
Jul 15, 2015Curious why you need to do the scan after the URI encoding. That would just make it harder.
You can also split the values using a list function:
set val "CN=bob.user,OU=my-ou-1,OU=my-ou-2,OU=my-ou-3,O=my-org,C=my-country"
set cnlist [split $val ","]
foreach x $cnlist {
log local0. $x
}
If your DNs are always formatted the same way, then you can just short circuit the whole thing with explicit [lindex ] commands:
log local0. [findstr [lindex $cnlist 0] "=" 1]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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