Bug #17075: Prevent cookies being rawurlencoded
| From: | csaba at alum dot mit dot edu | Date: | Tue, 07 May 2002 16:29:30 +0000 |
| Subject: | Bug #17075: Prevent cookies being rawurlencoded | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7152@lists.php.net to get a copy of this message | ||
From: csaba@alum.mit.edu
Operating system: All
PHP version: 4.2.0
PHP Bug Type: Feature/Change Request
Bug description: Prevent cookies being rawurlencoded
setcookie rawurlencodes all cookies before going out, which precludes being
able to set certain cookies. For example, suppose I want '=' or '&' in a
cookie. I have to use Header and manually construct the cookie.
Perhaps we could get a rawsetcookie(...) function which behaves the same
except that it does not do any encoding and fails if it is passed an
illegal character.
(related report http://bugs.php.net/bug.php?id=17050)
--
Edit bug report at http://bugs.php.net/?id=17075&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17075&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17075&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17075&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17075&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17075&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17075&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17075&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17075&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17075&r=globals