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
Upgrade for jQuery.Cookie to 1.4.1 #3024
Conversation
f504f9d
to
209da28
Compare
This fixes a problem with badly encoded cookies that may have been set by other software on the same domain. Eg. cookies encoded in latin1 instead of UTF-8. Note: this library is abandoned and superseeded by js-cookie but an upgrade to that is not straight forward (and the benefits for us are unclear)
209da28
to
65dd7e5
Compare
I guess you are only cherry-picking the fix commit you mentioned without other "breaking" changes in 1.4.1 (I think they are fine to integrate probably)? Then you probably should not mark the version as 1.4.1 in the script comment (probably a 1.3.1+). |
@splitbrain why is a migration not that straight forward here? |
@Klap-in They change the function name from |
These plugins use this library according to codesearch.dokuwiki.org: |
I didn't cherry pick. I upgraded the whole script. I didn't see any breaking changes that would affect us at a cursory glance at the commit history. |
I look at the diff again and is seeing a lot more than I remember I saw. Not sure why I thought this is not a full update. Will review again later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the previous confusion. I still have no idea why I thought this is a cherry-pick (probably I looked at it before the force-push).
This fixes a problem with badly encoded cookies that may have been set by other software on the same domain. Eg. cookies encoded in latin1 instead of UTF-8.
Note: this library is abandoned and superseeded by js-cookie but an upgrade to that is not straight forward (and the benefits for us are unclear)