[TIMOB-27341] iOS regression: Ti.Network.encodeURIComponent is not encoding "="
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 8.0.0, Release 8.1.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | engSchedule |
| Reporter | Rene Pot |
| Assignee | Unknown |
| Created | 2019-08-19T10:29:22.000+0000 |
| Updated | 2019-08-27T15:36:31.000+0000 |
Description
On iOS
Ti.Network.encodeURIComponent does not seem to encode = correctly. When I code below I get a different result for the global one than for the Network one. The global one is correct
console.log("GLOBAL " + encodeURIComponent(string));
console.log("NETWORK " + Ti.Network.encodeURIComponent(string));
Result:
[INFO] GLOBAL %3Furl%3Dtest
[INFO] NETWORK %3Furl=test
Both should return the same where = is encoded.
_Reported by Ross Motley on TiSlack_
No comments