Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Session validation listeners may return null, erroneously causing validation to fail #6147

Conversation

Ocramius
Copy link
Member

@Ocramius
Copy link
Member Author

Note that this may be a BC break

@mwillbanks
Copy link
Contributor

Since the intended behavior would be to return false, this would not be a BC break.

@mwillbanks mwillbanks added this to the 2.3.2 milestone Apr 16, 2014
@mwillbanks mwillbanks self-assigned this Apr 16, 2014
@mwillbanks mwillbanks merged commit 2c58b3e into zendframework:master Apr 16, 2014
mwillbanks pushed a commit that referenced this pull request Apr 16, 2014
mwillbanks pushed a commit that referenced this pull request Apr 16, 2014
@Ocramius Ocramius deleted the hotfix/session-validation-listeners-null-return-values branch July 6, 2014 13:17
weierophinney added a commit to weierophinney/zend-developer-tools that referenced this pull request Jul 11, 2014
- Per discussion with @Ocramius, a `null` value does not work currently
  until zendframework/zendframework#6147 is in a released version. That patch
  fixes a `!$value` call to more correctly be a `false === $value` call;
  until then, a truthy, but not boolean true, return value will also
  still work.
gianarb pushed a commit to zendframework/zend-session that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-session that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants