PHP 4.0 Bug #5953 Updated: Session invalidates when newline character is inserted into a session variable
| From: | Bug Database | Date: | Fri, 04 Aug 2000 19:40:43 +0000 |
| Subject: | PHP 4.0 Bug #5953 Updated: Session invalidates when newline character is inserted into a session variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27743@lists.php.net to get a copy of this message | ||
ID: 5953
User Update by: mbeers@udeco.com
Status: Open
Bug Type: Session related
Description: Session invalidates when newline character is inserted into a session variable
It is an issue of the session files being opened in text mode. I added | O_BINARY to all of the
V_OPEN calls in files_mod.c and recompiled, and now the example I just posted works. (this is using
the snapshot from yesterday morning). I don't know if this has any implications elsewhere, but
it does work now.
thanks
Full Bug description available at: http://bugs.php.net/?id=5953