New issue
Advanced search Search tips

Issue 699163 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

[Cronet] Don't support data url scheme on iOS

Project Member Reported by mef@chromium.org, Mar 7 2017

Issue description

Cronet doesn't support data: url scheme, but CronetHttpProtocolHandlerDelegate::IsRequestSupported() claims that it does, resulting in requests failing further inside of the network stack:

[0306/144813.938344:ERROR:crn_http_protocol_handler.mm(758)] HttpProtocolHandlerCore - Network error: net::ERR_UNKNOWN_URL_SCHEME (-302)

We should fix that.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0732a920737e6ff8bf2b481ae45cd9970b60e68c

commit 0732a920737e6ff8bf2b481ae45cd9970b60e68c
Author: mef <mef@chromium.org>
Date: Tue Mar 07 19:38:31 2017

[Cronet] Don't claim support of UrlRequests with data URL scheme.

BUG= 699163 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2733253002
Cr-Commit-Position: refs/heads/master@{#455175}

[modify] https://crrev.com/0732a920737e6ff8bf2b481ae45cd9970b60e68c/components/cronet/ios/Cronet.mm
[modify] https://crrev.com/0732a920737e6ff8bf2b481ae45cd9970b60e68c/components/cronet/ios/test/cronet_http_test.mm

Comment 2 by mef@chromium.org, Mar 7 2017

Status: Fixed (was: Assigned)

Sign in to add a comment