Skip to content
Tcl Source Code History Of Ticket 9ae5c553cadbac00
Login

History Of Ticket 9ae5c553cadbac00

Artifacts Associated With Ticket 9ae5c553cadbac00

  1. Ticket change [7da4419f44] (rid 184997) by kjnash on 2020-07-18 18:54:32:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      Command ::safe::AliasGlob gives special treatment to search patterns whose directory part is ~ or ~${foo}.  In earlier versions of ::safe::AliasGlob, this was a fix for the problem of unwanted expansion of ~ that revealed home directories to a safe interpreter (bug [3529949]).
      
      This special treatment of ~ is no longer necessary.  In current Tcl,
      <verbatim>
         file join $anything ~${foo}
      </verbatim>
      has result "~${foo}", which does not match any directory in the access path, and so is rejected before being passed to the safe interpreter's hidden glob command.
      
      Fixed in branch safe-bugfixes-8-6 commit [39485e00ef].
      
      Tests safe-16.[5-8] have been added to check that [file join] continues to behave this way.  Existing tests safe-16.[1-4] also check for unwanted ~ expansion.
      
    5. foundin initialized to: "core-8-6-branch"
    6. is_private initialized to: "0"
    7. login: "kjnash"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "kjnash"
    14. subsystem initialized to: "33. Safe Base"
    15. title initialized to:
      Remove unnecessary code in safe::AliasGlob - an old fix for ~ expansion that is now fixed by other means
      
    16. type initialized to: "Bug"
  2. Ticket change [57f21c9e4a] (rid 190589) by kjnash on 2020-12-31 16:00:17:

    1. closedate changed to: "2459215.16686759"
    2. closer changed to: "kjnash"
    3. login: "kjnash"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"