Forum Discussion
ichalis_37981
Dec 13, 2011Historic F5 Account
The EVAL command
Hi all,
I am testing the eval command and want to generate an error if my input script contains an error. My test code is as follows:
set cmd "if { \[HTTP::uri\] starts_with \"/h...
Simon_Mittelber
Nimbostratus
Jul 19, 2017is there any news on this one?
using eval for this, as spark suggests, is dangerous in my eyes:
eval "HTTP::respond 302 Location http://new.example.com $headers"
what if headers contain user input? someone could inject commands...
or what if anyone would use it for a response including content:
eval "HTTP::respond 200 content $content"
what if the content contains user input?
i think introducing the {*}-command is the only way to enable safe argument expansion.
i did a
[info patchlevel] on big ip 13.0.0. tcl version is still 8.4.6.
is big ip expected to move to 8.5 in the near future?
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
