Skip to content
Tcl Source Code Artifact [b25e1bc5cc]
Login

Artifact [b25e1bc5cc]

Artifact b25e1bc5cc7e5c697372e1e74f1b2d3eb1eba5008a542644c5eafaa454c2a488:

Ticket change [b25e1bc5cc] - Ticket [fb2fa9b3f6467ee6|fb2fa9b3f6] <i>exec broken for command having windows environment variables</i> status still Open with 3 other changes by sebres on 2023-10-27 11:04:23.
D 2023-10-27T11:04:23.358
J icomment Here\syou\sgo\s-\sbranch\s[https://core.tcl-lang.org/tcl/vdiff?from=7ed548b6b59bb496&to=fix-fb2fa9b3f6--percent-subst-regr|fix-fb2fa9b3f6--percent-subst-regr]\sfixes\sthe\sregression\sby\s%-char\ssubst\sfor\sexecution\sof\scomspec/batch-files\s(restores\sold\sbehaviour\sby\s%-escape).\r\n\r\nHowever\sas\salready\ssaid\s(and\show\sthe\swarning\sin\s[ea3b6d6792]\ssays)\s-\sthere\sis\sa\sTODO\snow:\ssince\sit'd\sreopen\sa\sinjection-vector\sby\sexecution\sof\scommand\sprocessor/batch-files\sas\sdescribed\sbelow\s(unexpected\stripple/double\squote\sissue),\s<code>exec</code>\sas\swell\sas\s<code>open\s|...</code>\sshould\sget\snew\soption\sfor\ssafe\sescape\s(or\sno\s.bat/.cmd/comspec\sexecution\swith\sarguments\sfrom\sforeign\sinput\scan\sbe\sconsidered\sas\ssafe\swithout\sextra\sparameters\svalidation).\r\n\r\nPrevious\sfix\shas\sbeen\sstill\sretained\s(ifdef-ed\sby\s<code>TCL_WIN_PIPE_FULLESC</code>)\sfor\sfuture\susage\swith\snew\soption\s(if\sit\sgets\simplemented\sat\ssome\spoint)\sor\sfor\sthe\speople\slike\sme\swhich\sprefer\sthe\ssafe\sescape\sto\sthe\sbackwards\scompat\sissues.
J login sebres
J mimetype text/x-fossil-wiki
K fb2fa9b3f6467ee66f543ec904e37aa8508f2fb1
U sebres
Z 2183d5ce06753ec2771924c15b77d6ee