Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13059 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36056 invoked by uid 1010); 28 Sep 2004 19:01:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36025 invoked from network); 28 Sep 2004 19:01:22 -0000 Received: from unknown (HELO duplo.phpwebhosting.com) (66.132.170.61) by pb1.pair.com with SMTP; 28 Sep 2004 19:01:22 -0000 Received: (qmail 20589 invoked from network); 28 Sep 2004 19:01:21 -0000 Received: from unknown (HELO ?10.0.2.78?) (65.200.4.130) by duplo2.phpwebhosting.com with SMTP; 28 Sep 2004 19:01:21 -0000 Message-ID: <4159B50B.5030603@ganx4.com> Date: Tue, 28 Sep 2004 12:01:31 -0700 User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rasmus Lerdorf CC: internals@lists.php.net References: <4159AC68.1060908@ganx4.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] max length of a cookie value? From: dietrich@ganx4.com (Dietrich Ayala) Ran it through proxytrace (trace below). The browser sends full cookie value, but the last 82 bytes are truncated from the value in $_COOKIE. Note in my follow-up email: the problem does not occur in 4.3.2, yet is reproducable in 4.3.7. HTTP Request: GET http://localhost/tests/cookie_%20bug.exp HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Proxy-Connection: keep-alive Cookie: SMSESSION=8%2F1d6WFvs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YdgwdOAyuiI Cache-Control: max-age=0 Rasmus Lerdorf wrote: > No limit on PHP's end. Probably happening in the browser. Check what is > going over the wire. > > -Rasmus > > On Tue, 28 Sep 2004, Dietrich Ayala wrote: > > >>we're experiencing truncation of cookie values. >> >>is there a hard-coded limit in php? >> >>there's nothing in the docs. i didn't find any bugs at bugs.php.net >>about this. >> >>thanks, >> >>dietrich >> >>-- >>PHP Internals - PHP Runtime Development Mailing List >>To unsubscribe, visit: http://www.php.net/unsub.php >> > >