Skip to content
Tcl Source Code History Of Ticket 016bea8571
Login

History Of Ticket 016bea8571

Artifacts Associated With Ticket 016bea8571

  1. Ticket change [e982191a65] (rid 184995) by kjnash on 2020-07-18 18:11:39:

    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 constructs a command cmd to be passed to the safe interpreter's hidden glob command.
      
      Command ::safe::AliasGlob conspires to require that, in order to supply a valid search pattern to cmd, the caller must supply arguments -directory virtualdir, and the value virtualdir must begin with a valid tokenized directory.
      
      It does this by
        #   testing that each directory [file join $virtualdir $thedir] (where thedir is the directory part of the search pattern) belongs to the tokenized access path
        #   NOT translating from tokens the pattern arguments supplied to cmd.  Only the virtualdir is translated.
      
      E.g. if -directory virtualdir is not supplied, and the search pattern is {$p(:4:)/*}, the directory is {$p(:4:)} and passes the "access path" test.  But the pattern passed to glob as cmd is {$p(:4:)/*} and has no matches against real directories.  The glob has no matches.
      
      For the sake of clarity it would be useful to process the case without arguments "-directory virtualdir" near the start of the command, so the case analysis in the rest of the command is simplified.
      
      Fixed in branch safe-bugfixes-8-6 commit [dc38ed6dd6].
      
    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: "Simplify case analysis in safe::AliasGlob"
    16. type initialized to: "RFE"
  2. Ticket change [c0383f1c05] (rid 190590) by kjnash on 2020-12-31 16:00:52:

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