[Webkit-unassigned] [Bug 137299] New: POST is missing a body after registerSchemeForCustomProtocol
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 1 04:13:53 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137299
Summary: POST is missing a body after
registerSchemeForCustomProtocol
Product: WebKit
Version: 528+ (Nightly build)
Platform: iOS
URL: http://world-backgammon.rhcloud.com/login.php
OS/Version: Other
Status: NEW
Severity: Major
Priority: P2
Component: WebKit API
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: danielo at opera.com
CC: benjamin at webkit.org
If a custom NSURLProtocol is handling an HTTP POST request, the request HTTPBody is nil.
This only happens if [WKBrowsingContextController registerSchemeForCustomProtocol:] is called for that protocol. If this method is not called, then the POST request is simply bypassing the custom protocol.
This happens on iOS 8.1 [12B401].
It's also reproducible on the master branch ( 809db5f8edac632ec3332b43dc90795d96914440 ).
Test case:
https://gist.github.com/anonymous/e4ef8586780b2194a6fa
Run it with ./TestWebKitAPI --gtest_filter=WebKit2CustomProtocolsTest.FormPostBodyExists
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list