[AC-754] encodeURIComponent double encoding @
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2014-05-04T06:16:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Neville Dastur |
Assignee | Ritu Agrawal |
Created | 2014-04-22T22:27:15.000+0000 |
Updated | 2016-12-01T10:40:13.000+0000 |
Description
encodeURIComponent("foo@bar") on iOS will give the expected foo%40bar but on Android it returns foo%2540bar
It seems to have been a known java bug back in 2008 and described again in Play http://stackoverflow.com/questions/5506005/play-framework-double-url-encoding
I am unable to reproduce this issue on my Android 4.2.2 device. I see the consistent behavior across iOS and Android platforms. Are you seeing this issue on a particular Android device?
Hi. I have seen this bug on a Samsung S5. I will try it out in other emulators. But maybe it is hardware specific?
Resolving this ticket as we have not been able to reproduce this issue with the provided test case. We would be happy to reopen this ticket once we have more information available.
When I write _encodeURIComponent($.txtResetEmail.value)_ with _value=asd@asd.com_, return *asd%%40asd.com* (must be asd%40asd.com). OSX 10.10.5 SDK 5.4.0 - 5.5.1 Genymotion with Google Nexus 5 - 6.0.0 - API 23 - 1080x1920 and Google Nexus 4 - 4.2.2 - API 17 - 768x1280