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

Fix incorrect string validation for URL #1

Merged
merged 1 commit into from Jan 19, 2023

Conversation

coditva
Copy link
Member

@coditva coditva commented Jan 6, 2023

The getCookies and setCookie functions can handle URL objects. They used to handle it in v4.0.0 but it seems since 4.1.1, validations were added which don't allow using URL object. PR salesforce#193

This change updates the validations to allow both string and object.

@codenirvana codenirvana merged commit e8f23e3 into master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants