Menu

#313 Recordings of large POST bodies have missing chars in SCL

Serious
open-fixed
5
2005-06-13
2005-05-20
No

With OpenSTA 1.4.3, during the creation of a script,
the large SCL literal strings (as the body of a request
POST) are cut out in several blocks which are then
concatenated.

The problem is that one character is removed for each
concatenation.

With OpenSTA 1.4.2, the SCL literal string is for example :
POST URI "http://....
...
, BODY
"................................................." &
...

"..............................................................."
&

"....................................................uvwxyz"
&

"abcd........................................................"
&
...

With OpenSTA 1.4.3, the literal string is now :
POST URI "http://....
...
, BODY
"................................................." &
...
...

"..............................................................."
+ &

"....................................................uvwxy"
&

"abcd........................................................"
&
...
The last character ('z') of the line after the
concatenation misses.

Daniel thinks that it is the fix of the bug #637865
which introduced this.
http://sourceforge.net/tracker/index.php?func=detail&aid=637865&group_id=10857&atid=110857

Discussion

  • Daniel Sutcliffe

    Logged In: YES
    user_id=19748

    Problem is in theTof2Scl DLL.
    New behaviour where long quoted character strings are broken
    down into concatenated chunks loses a character whenever the
    string split is made.
    The issue has been tracked down to be in the
    SclWriter::ValidateString() routine - when the beginning
    quote character is added to the new string at the split
    point it is not counted and therefore causes too much to be
    consumed of the work string and a char lost. A fix is
    imminent...

     
  • Daniel Sutcliffe

    • assigned_to: nobody --> dansut
    • status: open --> open-accepted
     
  • Daniel Sutcliffe

    • summary: Loss of characters caused by concatenating large SCL String --> Recordings of large POST bodies have missing chars in SCL
    • status: open-accepted --> open-fixed
     
  • Daniel Sutcliffe

    Logged In: YES
    user_id=19748

    A fix for this issue has been merged into the CVS HEAD. It
    will become generally available in the OpenSTA 1.4.4 release.

    tof2scl.dll: 1.4.4.2
    OpenSTA: 1.4.4.2

    Attached to this bug report is the updated DLL built for the
    1.4.3 release of OpenSTA. Use in place of existing DLL to
    get fixed behavior.

     
  • Daniel Sutcliffe

    Updated DLL containg fix for the 1.4.3 release

     

Log in to post a comment.