tidev / titanium-web-dialog

Use the SFSafariViewController (iOS) and Chrome Pages (Android) in Titanium.
Other
30 stars 18 forks source link

Parity in behaviour between iOS and Android for URLs with special characters #7

Open fahad86 opened 5 years ago

fahad86 commented 5 years ago

e.g.) https://www.spacious.hk/zh-tw/blog/%e8%b2%b7%e6%a8%93%e8%80%83%e6%85%ae%e5%9f%ba%e6%ba%96%e5%8f%8a%e6%8c%89%e6%8f%ad%e5%95%8f%e8%88%87%e7%ad%94/

Android has correct behaviour whereas iOS complains saying it can only handle http/https schemas

jgiunta commented 4 years ago

I have the same issue. Any solution ?

Max87ZA commented 4 years ago

webDialog.url = encodeURI(url) did the trick for me

felgaceltica commented 6 months ago

same issue here, I have a Url with # in the address and it's not working