Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Information leaks: [info script] and [info nameofexecutable]

Closed / Fixed2913625fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 15 years ago
Descriptionplain2009-12-13 11:07:55
both returns the real path
[info nameofexecutable] shoud return "" imho (hide info?)
[info script] shoud return the hidden path to this file. (Idea from kbk: read the file, invoke [info script $hiddenPath] and eval the contents.)

Ok, one more:
[file join [file dirname ~user] [file tail ~user]] returns users home directory
dgpplain2009-12-14 21:44:22
see also 1669424
dkfplain2009-12-23 18:19:08
Both [info] issues fixed. The handling of ~user in filenames in a safe interpreter requires more thought; maybe different approach.
dkfplain2012-05-26 19:53:39
allow_comments - 1

Closing; will reopen the tilde expansion problem as its own bug as that's pretty nastily deep.
Log in (anonymous is fine) to add a comment.