cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voliva <>
Subject [GitHub] cordova-ios pull request: CB-9558 Blob schemes won't load in ifram...
Date Wed, 26 Aug 2015 14:02:06 GMT
GitHub user voliva opened a pull request:

    CB-9558 Blob schemes won't load in iframes

    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.js](,
that downloads an epub, extracts 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
    [NSURLConnection canHandleRequest]
    returns false, thus cancelling the request. Hardcoding "blob" as an allowed scheme (like
it's currently done with mailto, tel and sms) fixes this issue.

You can merge this pull request into a Git repository by running:

    $ git pull 3.9.x

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #156
commit a8ec82bc133c51c6d30f73d4121eae5dc6366102
Author: voliva <>
Date:   2015-08-26T13:40:39Z

    Blob schemes won't load in iframes


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message