[TIMOB-27385] iOS: WKWebView is stripping out = characters in network requests
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-10-30T21:07:57.000+0000 |
Affected Version/s | Release 8.0.0, Release 8.1.0 |
Fix Version/s | Release 8.3.0 |
Components | iOS |
Labels | engSchedule, regression |
Reporter | Holger Nestmann |
Assignee | Vijay Singh |
Created | 2019-09-09T11:32:54.000+0000 |
Updated | 2019-10-30T21:07:57.000+0000 |
Description
Within WKWebView network requests seem to strip out the
=
characters from request body where they didn't in WebView pre-WKWebView (aka 7.x)
A sample app demonstrating the problem can be found here: https://github.com/hnestmann/titanium-bug/
{quote}basically it calls this URL to set the cookie: https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Set
and this to play it back: https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Check
in browsers and 7.5.1 the clients send SimpleValue====
in 8.X.X the clients (httpClient and webViews) send SimpleValue
{quote}
Attachments
File | Date | Size |
---|---|---|
image (3).png | 2019-09-09T11:31:52.000+0000 | 272871 |
Thank @Rene Pot for raising the ticket on my behalf. I did inspect the webview in safari and the webview shows the correct cookie values including the equal signs. But they seem to be skipped on the way to the server.
PR - https://github.com/appcelerator/titanium_mobile/pull/11286 Test Case -
FR Passed, waiting on Jenkins build.
merged to master
Verified on: Mac OS: 10.14.5 SDK: 8.3.0.v20191030085531 Appc CLI: 7.1.1 JDK: 1.8.0_162 Node: 10.5.0 Studio: 5.1.4.201909061933 Xcode: 11.1 Device: iOS simulator 13.1, 12.2