[OpenSTA-devel] [ opensta-Bugs-1747224 ] Cookies with double quote char in, badly translated to SC
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2007-07-03 17:52:05
|
Bugs item #1747224, was opened at 2007-07-03 12:40 Message generated for change (Comment added) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1747224&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: HTTP Capture Group: Behavioral Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Daniel Sutcliffe (dansut) Assigned to: Daniel Sutcliffe (dansut) Summary: Cookies with double quote char in, badly translated to SCL Initial Comment: Cookies that contain the double quote character are badly translated into SCL strings. This problem actually affects more than just Cookies - it can occur in many strings taken from the HTTP and then appearing as strings in the created SCL. It is most easily reproduced using Cookies that already exist (static) in the browser though. The created strings may be uncompilable or may just not be the string that the browser sent - indexing gets mixed up the translation and ~<22> effectively gets put in the wrong place in the created string. ---------------------------------------------------------------------- >Comment By: Daniel Sutcliffe (dansut) Date: 2007-07-03 13:52 Message: Logged In: YES user_id=19748 Originator: YES A fix for this issue has been merged into the CVS HEAD. It will become generally available in the OpenSTA 1.4.4 release. gwhttp.dll: 1.4.4.2 OpenSTA: 1.4.4.4 ---------------------------------------------------------------------- Comment By: Daniel Sutcliffe (dansut) Date: 2007-07-03 12:48 Message: Logged In: YES user_id=19748 Originator: YES I have recoded the modifyStringAsScl routine so that it doesn't "get confused". The new algorithm should be considerably more efficient (doesn't copy strings around so much and works in a single pass), works (it fixes this bug), and also encodes the single quote character to ~<27> for completeness and to avoid any potential future issues. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1747224&group_id=10857 |