hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Fix: Resolve mobile redirect double-encoding issue in Safari/iOS (#66…

Open Ariz253 opened this issue 11 months ago • 2 comments

Resolves #661 This PR addresses Issue #661 by removing the redundant second layer of encodeURIComponent() inside the hello.utils.popup function (around line 1032).

Problem: The original double-encoding was an outdated workaround that now conflicts with the decoding behavior of modern iOS Safari/WebViews, causing the redirect to fail on devices like the iPhone 12 Pro Max.

Verification:

All 232 unit tests passed successfully.

Line-ending style errors were fixed via npm run lint -- --fix.

Manual desktop testing confirmed the demo page loads and all unit tests passed. I was unable to perform a live login test with a third-party provider. Therefore, I am requesting that the maintainers verify stability on both desktop browsers and the target iOS device.

Ariz253 avatar Dec 10 '25 18:12 Ariz253

Any updates?

Ariz253 avatar Dec 28 '25 13:12 Ariz253

@Ariz253 you need to update the /src folder rather than the /dist folder please, sorry it is a little confusing I need to sort that out.

MrSwitch avatar Dec 29 '25 22:12 MrSwitch