Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C6DA10292 for ; Wed, 26 Aug 2015 14:02:46 +0000 (UTC) Received: (qmail 24637 invoked by uid 500); 26 Aug 2015 14:02:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 24613 invoked by uid 500); 26 Aug 2015 14:02:46 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 24591 invoked by uid 99); 26 Aug 2015 14:02:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2015 14:02:45 +0000 Date: Wed, 26 Aug 2015 14:02:45 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9558) Blob schemes won't load in iframes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9558?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1471346= 7#comment-14713467 ]=20 ASF GitHub Bot commented on CB-9558: ------------------------------------ Github user voliva commented on the pull request: https://github.com/apache/cordova-ios/pull/155#issuecomment-135031232 =20 Sorry, it's to be merged into 3.9.x branch. > Blob schemes won't load in iframes > ---------------------------------- > > Key: CB-9558 > URL: https://issues.apache.org/jira/browse/CB-9558 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 3.9.0 > Reporter: V=C3=ADctor Oliva Vidal > Priority: Minor > > Blob schemes won't load in iframes, even though blob:* is whitelisted. > This is needed for special cases, like when using an epub reader ([ePub.j= s|https://github.com/futurepress/epub.js/]), that downloads an epub, extrac= ts it to a blob and displays it in an iframe. > This currently works perfectly in cordova-android, but not in cordova-ios= . > I've debugged why it happens... the Whitelists says the scheme is allowed= and the URL is allowed, but then > {code} > [NSURLConnection canHandleRequest] > {code} > returns false, thus cancelling the request. Hardcoding "blob" as an allow= ed scheme (like it's currently done with mailto, tel and sms) fixes this is= sue. I was about to put a pull request in github when I saw your contributi= ng guidelines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org