Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27341] iOS regression: Ti.Network.encodeURIComponent is not encoding "="

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0, Release 8.1.0
Fix Version/sn/a
ComponentsiOS
LabelsengSchedule
ReporterRene Pot
AssigneeUnknown
Created2019-08-19T10:29:22.000+0000
Updated2019-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_

Comments

No comments

JSON Source