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

Already on GitHub? Sign in to your account

nil is retuned if cookie is tampered with [ci skip] #9916

Merged
merged 1 commit into from Mar 25, 2013

Conversation

Projects
None yet
2 participants
Member

neerajdotname commented Mar 25, 2013

No description provided.

Owner

rafaelfranca commented Mar 25, 2013

@neerajdotname could you improve your commit message? I think it is missing something

if cookie is tampered with then nil is returned [ci skip]
if the given key is not found then verifier does raise
`ActiveSupport::MessageVerifier::InvalidSignature` exception
but this exception is resuced and finally nil is returned.

rafaelfranca added a commit that referenced this pull request Mar 25, 2013

Merge pull request #9916 from neerajdotname/no-exception-when-cookie-…
…is-tampered-with

nil is retuned if cookie is tampered with [ci skip]

@rafaelfranca rafaelfranca merged commit 3450eff into rails:master Mar 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment