Overview
| Artifact ID: | 88bef6c972f1f5e72ee9729690a5b0a5bb3eb7fb8c597e680b04fa8504fda60c |
|---|---|
| Ticket: | fb2fa9b3f6467ee66f543ec904e37aa8508f2fb1
exec broken for command having windows environment variables |
| User & Date: | oehhar on 2023-10-27 08:43:34 |
Changes
- icomment:
Hi Sebres, thank you for your great action, I appreciate. The reason, why I would like, that basically anything works in exec, including volnerabilities is as follows: As shown at OpenACS/TCL/Tk conference, my main TCL/Tk based product has a box-moving editor to compose solutions around bar-code technologies. There is one of those function-blocks for exec. I have my own tab-replacement language using "<Varname>" the user may use. There is no direct access to the env array. So, my user expect, that it is basically the same, as typing on the cmd.exe command line. And if that does not work, I get justified complaints. And the quoting rules are specially critical, as nobody knows what is really called and thus debugging is very difficult. Quoting is difficult. Passing a simple thing like a file name is difficult. But not having control on the script level does not allow to solve the issues like in the ticket. I normally do the workaround, that I write a batch file on the fly and invoke the batch file. But you loose control over result values etc. In consequence, I would really be glad, if this vulnerability protection would be reverted or put into a switch. I am ready to drive the TIP process. Unfortunately, the current bugfix would also require a TIP, as we have a dramatic change on the script level, that functionality present before is not present any more. Thank you for your understanding and best regards, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"