[jira] [Commented] (CB-10109) Allow WKWebView to proxy file:// url loading in XmlHttpRequest.open

2016-07-25 Thread Achiel van der Mandele (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15391448#comment-15391448
 ] 

Achiel van der Mandele commented on CB-10109:
-

Thanks for the update! Here's to hoping they submit a PR soon :)

> Allow WKWebView to proxy file:// url loading in XmlHttpRequest.open
> ---
>
> Key: CB-10109
> URL: https://issues.apache.org/jira/browse/CB-10109
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Plugin WKWebViewEngine
>Reporter: Shazron Abdullah
>  Labels: wkwebview-known-issues
>
> Because of CORS, you can only open requests using http*:// schemes, not file.
> Ultimately this might be a new plugin. The plugin needs to:
> 1. Run a local webserver 
> 2. Proxy XmlHttpRequest.open and rewrite urls that go to (1) 
> The local webserver in (1) will route the requests using the appropriate 
> handler, and will need to utilize a secret to prevent unauthorized access.
> Something like this: 
> https://github.com/phonegap/connect-phonegap/blob/master/res/middleware/proxy.js



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-10109) Allow WKWebView to proxy file:// url loading in XmlHttpRequest.open

2016-07-11 Thread Achiel van der Mandele (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-10109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15370846#comment-15370846
 ] 

Achiel van der Mandele commented on CB-10109:
-

I'm not seeing any activity the past couple of months, I presume that means 
this is likely not going to be picked up anytime soon? We're running into this 
issue pretty hard and are trying to determine whether to roll our own 
file-plugin retrieval workaround or whether we can rely on native tech.

> Allow WKWebView to proxy file:// url loading in XmlHttpRequest.open
> ---
>
> Key: CB-10109
> URL: https://issues.apache.org/jira/browse/CB-10109
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: Plugin WKWebViewEngine
>Reporter: Shazron Abdullah
>  Labels: wkwebview-known-issues
>
> Because of CORS, you can only open requests using http*:// schemes, not file.
> Ultimately this might be a new plugin. The plugin needs to:
> 1. Run a local webserver 
> 2. Proxy XmlHttpRequest.open and rewrite urls that go to (1) 
> The local webserver in (1) will route the requests using the appropriate 
> handler, and will need to utilize a secret to prevent unauthorized access.
> Something like this: 
> https://github.com/phonegap/connect-phonegap/blob/master/res/middleware/proxy.js



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org