[OpenSTA-devel] [ opensta-Bugs-1205532 ] Recordings of large POST bodies have missing chars in SCL
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2005-06-13 21:20:58
|
Bugs item #1205532, was opened at 2005-05-20 05:44 Message generated for change (Comment added) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1205532&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Script Language Group: Serious Status: Open >Resolution: Fixed Priority: 5 Submitted By: Thierry Boullet (tboullet) Assigned to: Daniel Sutcliffe (dansut) >Summary: Recordings of large POST bodies have missing chars in SCL Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Daniel Sutcliffe (dansut) Date: 2005-06-13 17:20 Message: 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. ---------------------------------------------------------------------- Comment By: Daniel Sutcliffe (dansut) Date: 2005-06-12 10:47 Message: 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... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1205532&group_id=10857 |