Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$this->session->set_userdata(array(array('test' => "\\"))); destroys session #439

Closed
PHP-Point-Of-Sale opened this issue Sep 14, 2011 · 2 comments

Comments

@PHP-Point-Of-Sale
Copy link

$this->session->set_userdata(array(array('test' => ""))); destroys session

@PHP-Point-Of-Sale
Copy link
Author

Is this going to be fixed?

philsturgeon pushed a commit that referenced this issue Oct 16, 2011
Fixes issue #439 some slashes not escaped in session data.
ericlbarnes added a commit that referenced this issue Oct 17, 2011
Check for string value before doing str_replace. (Issue #439)
@vladbalmos
Copy link

code throws error when trying to serialize object
ERROR - 2012-08-14 10:52:50 --> Severity: 4096 --> Object of class stdClass could not be converted to string /home/[site]/system/libraries/Session.php 752
ERROR - 2012-08-14 10:52:50 --> Severity: Notice --> Object of class stdClass to string conversion /home/[site]/system/libraries/Session.php 752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant