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

[ci skip] Description inside Signed and Encrypted CookieJars added #19823

Merged
merged 1 commit into from
Apr 23, 2015

Conversation

sbhatore95
Copy link
Contributor

No description provided.

@@ -454,12 +454,16 @@ def initialize(parent_jar, key_generator, options = {})
@verifier = ActiveSupport::MessageVerifier.new(secret, digest: digest, serializer: ActiveSupport::MessageEncryptor::NullSerializer)
end

# Returns the value of the cookie by +name+ if it is untampered,
# returns +nil+ otherwise and if no such cookie exists.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it sound like nil is only returned if the cookie has been tampered with AND the cookie does not exist. Is that technically correct? Did you mean "or" instead of "and"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think you are right. It should be 'or' instead of 'and'.

@rafaelfranca
Copy link
Member

Could you squash your commits?

commit a88875a
Author: Siddharth Bhatore <sbhatore95@gmail.com>
Date:   Thu Apr 23 12:26:08 2015 +0530

    [ci skip] Update doc fix cookies

commit f175eaa
Author: Siddharth Bhatore <sbhatore95@gmail.com>
Date:   Mon Apr 20 12:58:04 2015 +0530

    Description inside Signed and Encrypted CookieJars added
@sbhatore95
Copy link
Contributor Author

Sure. Its done 😄 !!

rafaelfranca added a commit that referenced this pull request Apr 23, 2015
[ci skip] Description inside Signed and Encrypted CookieJars added
@rafaelfranca rafaelfranca merged commit d949460 into rails:master Apr 23, 2015
@sbhatore95 sbhatore95 deleted the doc_fix_1 branch May 31, 2015 20:52
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

Successfully merging this pull request may close these issues.

None yet

3 participants