Skip to content
Tcl Source Code History Of Ticket 218073
Login

History Of Ticket 218073

Artifacts Associated With Ticket 218073

  1. Ticket change [d9bf632620] (rid 107661) by nobody on 2000-10-26 00:52:52:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1620 Bug
      Version: 8.0.5
      SubmitDate: '1999-03-24'
      LastModified: '1999-10-21'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: Solaris
      OSVersion: SunOS mars 5.5.1 Generic_103640-17 sun4d sparc SUNW,SPARCserver-
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-10-21'
      
      
      Name:
      Jeff Beard
      
      Extensions:
      Oratcl 2.5 as shared library, although not ref in this case
      
      CustomShell:
      none, nada, zip
      
      ReproducibleScript:
          set  data [ http::data [ http::geturl http://aurl/with_302/return_status
          ] ]
          puts stderr "$data"
              data:: <head><title>Object moved</title></head>
              <body><h1>Object Moved</h1>This object may be found <a
          HREF="/AdvWorks/default.asp">here</a>.</body>
           
          puts stderr " len [string length $data ] cnt  [llength $data ] "
               len 143 cnt 10
          
          # now assign it to an array
          set  WEBPAGES(url) $data
          
          # and compare results to simple var assignment
          puts stderr " len [string length $WEBPAGES(url) ] cnt  [llength
          $WEBPAGES(url) ] "
               len 123  cnt 10
          
          puts stderr "page: $WEBPAGES(url)"
              page: <head><title>Object moved</title></head>
              <body><h1>Object Moved</h1>This object may be found <a
          HREF="/AdvWorks/default.asp
          
          NOTICE; truncation at trailing ">here</a>.</body>
          
          tcl_version 8.0
          tcl_patchLevel 8.0.5
          
          SunOS mars 5.5.1 Generic_103640-17 sun4d sparc SUNW,SPARCserver-1000
          native CC environment
          
          
      
      
      
      ObservedBehavior:
          assignment truncated the string and the last [ " ] char in the string
          
      
      
      
      DesiredBehavior:
          the assignment should not have been truncated
          
      
      
      
      
      This is not reproducible with 8.0 or 8.2.  It seems that there
      may be a problem with the list interpretation of the data, as
      it is not exactly "well-formed".  However, I can find no
      problems.  The user should note that the list rep of a string
      will remove excess whitespace between list elements.  A better
      test case would be needed to prove this is a problem. 
      -- 10/21/1999 hobbs
      
    4. foundin initialized to: "final: 8.0.5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "array assignmet of http::get data"
    11. type initialized to: "Bug"
  2. Ticket change [2af210f165] (rid 118654) by welch on 2000-10-26 08:13:45:

    1. closedate changed to: "2000-10-26T01:13:45"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [6af82d9130] (rid 128234) by dgp on 2001-04-20 04:12:50:

    1. closedate changed to: "2001-04-19T21:12:50"
    2. closer changed to: "dgp"
    3. subsystem changed to: "29. http Package"