Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 22e155a333ef60daad1e05b893dcea3859448e23
Ticket: 1224888fffffffffffffffffffffffffffffffff
possible to have an empty info nameofexecutable
User & Date: davidw on 2005-06-21 23:35:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=240
    
    The patch was a quick hack and the objections to it are
    quite valid... I'm sure we can come up with something better.
    
    However, even if Apache isn't doing things quite right, I
    don't think it's egregiously wrong, either, and I think that
    Tcl ought to be "liberal with what it accepts" as a general
    principle.
    
    How does this sound for an algorithm:
    
    1) If argv0 has slashes in it, we are ok, we just use that.
    
    2) If there are no slashes, and a file that matches
    pwd+argv0 exists and is executable, use that.
    
    3) Search the PATH.
    
    4) Can't figure anything out, so just make it NULL.
    
    
    
    
  2. login: "davidw"
  3. mimetype: "text/plain"
  4. username: "davidw"