On Saturday 24 July 2010 22:24:22 Michelle Konzack wrote:
> COOKIES are stored as they are... and there are no quotes.

I have to disagree.

Here's a partial dump using a logging proxy and iceweasel(firefox):

DEBUG 
--------------------------------------------------------------------------------
DEBUG POST https://www.coopanet.com/banque/sso/co/connexionsec.do HTTP/1.1
DEBUG 'Host': 'www.coopanet.com'
DEBUG 'User-Agent': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) 
Gecko/2010062510 Iceweasel/3.0.6 (Debian-3.0.6-3)'
DEBUG 'Accept': 
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
DEBUG 'Accept-Language': 'en-us,en;q=0.5'
DEBUG 'Accept-Encoding': 'gzip,deflate'
DEBUG 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
DEBUG 'Referer': 'https://www.coopanet.com/banque/sso/co/connexionsec.do'
DEBUG 'Cookie': 'ARPTCN=YQIOZISdelvaux_CNCKUOU; 
JSESSIONID=684B885F51D15BA24A4A1504C9317AE8; ccsite=C; 
TS5acdf8=8ecf174b2eb515fe9db543f3eff5b1a442a2d6393b4cbcd53b3de5759590052beddc7d83bf1fc4e84ba20a40'
DEBUG 'Content-Type': 'application/x-www-form-urlencoded'
DEBUG 'Content-Length': '66'
DEBUG 'Connection': 'close'
DEBUG data: (66 bytes) 
'codeUtil=********&motPasse=*******&identType=MDP&pbValider=Valider'
DEBUG 
--------------------------------------------------------------------------------
DEBUG RESPONSE RAW 
-------------------------------------------------------------------
DEBUG HTTP/1.1 302 Déplacé Temporairement
DEBUG 'Date': 'Tue, 27 Jul 2010 15:10:55 GMT'
DEBUG 'X-Powered-By': 'Servlet 2.4; JBoss-4.3.0.GA_CP06 (build: 
SVNTag=JBPAPP_4_3_0_GA_CP06 date=200907141202)/JBossWeb-2.0'
DEBUG 'Location': 
'https://www.coopanet.com/banque/cpt/incoopanetj2ee.do?ssomode=ok'
DEBUG 'Content-Type': 'text/html; charset=UTF-8'
DEBUG 'Set-Cookie': 'ccsite=C; Path=/'
DEBUG 'Set-Cookie': 'SECURECOOKIECC=false; Path=/'
DEBUG 'Set-Cookie': 
'SSOCOOKIECC="3JsEKHUimbXmMZRI+hhVPXC/K/WXigBSfTBqyhGvODObmLOC9r+DLljFxQsWsyvHYVZlOwcOjRky07ybAftSLw==";
 Version=1; Path=/'
DEBUG 'Set-Cookie': 'CCSIGN=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/'
DEBUG 'Cache-Control': 'max-age=0'
DEBUG 'Expires': 'Tue, 27 Jul 2010 15:10:55 GMT'
DEBUG 'Vary': 'Accept-Encoding,User-Agent'
DEBUG 'Content-Encoding': 'gzip'
DEBUG 'Duration': 'D=52368 microseconds'
DEBUG 'Content-Length': '20'
DEBUG 'Connection': 'close'
DEBUG 'Set-Cookie': 
'TS5acdf8=b8d9eaaf4g92147958018ebd9e3489391e7402d5dce4bcc85b5ce4257592052decce9f1ede92c4e47194a91ff85bb5cf403aaef129489d2e52fcae56d73c92d1fc0d0c61;
 Max-Age=900; Path=/'
DEBUG data: (20 bytes) 
'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00'
DEBUG 
--------------------------------------------------------------------------------


DEBUG GET /banque/cpt/incoopanetj2ee.do?ssomode=ok HTTP/1.1
DEBUG 'Host': 'www.coopanet.com'
DEBUG 'User-Agent': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) 
Gecko/2010062510 Iceweasel/3.0.6 (Debian-3.0.6-3)'
DEBUG 'Accept': 
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
DEBUG 'Accept-Language': 'en-us,en;q=0.5'
DEBUG 'Accept-Encoding': 'gzip,deflate'
DEBUG 'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
DEBUG 'Keep-Alive': '300'
DEBUG 'Connection': 'keep-alive'
DEBUG 'Referer': 'https://www.coopanet.com/banque/sso/co/connexionsec.do'
DEBUG 'Cookie': 'ARPTCN=YQIOZISdelvaux_CNCKUOU; 
JSESSIONID=684B885F51D15BA24A4A1504C9317AE8; ccsite=C; 
TS5acdf8=b8d9eaaf4g92147958018ebd9e3489391e7402d5dce4bcc85b5ce4257592052decce9f1ede92c4e47194a91ff85bb5cf403aaef129489d2e52fcae56d73c92d1fc0d0c61;
 SECURECOOKIECC=false; 
SSOCOOKIECC="3JsEKHUimbXmMZRI+hhVPXC/K/WXigBSfTBqyhGvODObmLOC9r+DLljFxQsWsyvHYVZlOwcOjRky07ybAftSLw=="'


As you can see on that very last line, the cookie named SSOCOOKIECC starts with 
a quote, while JSESSIONID for example does not.

wget strips these quotes resulting in a failure to log in on that web site, for 
example.

curl and iceweasel works fine.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to