Skip to content

Conversation

@michaelwolz
Copy link
Contributor

@michaelwolz michaelwolz commented Nov 19, 2025

Remove the percent-encoding of cookie values in CapacitorCookies plugin implementation on iOS and therefore make it behave the same as on Android.

Fixes: #8248

Working example can be found here (build locally with non published packages): https://github.com/michaelwolz/capacitor-cookies/tree/working-version

Screenshot

ios-working

Comment on lines -53 to -55
public func decode(_ value: String) -> String {
return value.removingPercentEncoding!
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This seems to not have been in use at all.

@michaelwolz michaelwolz marked this pull request as draft November 20, 2025 11:06
@michaelwolz michaelwolz marked this pull request as ready for review November 20, 2025 11:26
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.

[Bug]: CapacitorCookies percent-encodes cookies on iOS (and not on Android)

1 participant