Re: CSP ignored when using remote content

2015-05-23 Thread Pär
and understand the failure. Thanks, Nikhil -Original Message- From: Pär [mailto:p.majh...@gmail.com] Sent: Thursday, May 21, 2015 6:24 PM To: dev@cordova.apache.org Subject: Re: CSP ignored when using remote content Thanks for the reply. Yes, the CSP rules are defined by the page

Re: CSP ignored when using remote content

2015-05-23 Thread julio cesar sanchez
@cordova.apache.org javascript:; Subject: Re: CSP ignored when using remote content Thanks for the reply. Yes, the CSP rules are defined by the page that is loaded, wherever that is. The thing is that the behavior when loading that page from a remote server is different from

Re: CSP ignored when using remote content

2015-05-23 Thread Pär
...@gmail.com javascript:;] Sent: Thursday, May 21, 2015 6:24 PM To: dev@cordova.apache.org javascript:; Subject: Re: CSP ignored when using remote content Thanks for the reply. Yes, the CSP rules are defined by the page that is loaded, wherever that is. The thing is that the behavior

RE: CSP ignored when using remote content

2015-05-22 Thread Nikhil Khandelwal
Message- From: Pär [mailto:p.majh...@gmail.com] Sent: Thursday, May 21, 2015 6:24 PM To: dev@cordova.apache.org Subject: Re: CSP ignored when using remote content Thanks for the reply. Yes, the CSP rules are defined by the page that is loaded, wherever that is. The thing is that the behavior when

CSP ignored when using remote content

2015-05-21 Thread Pär
When using a remote content src like content src= http://remoteserver.com/app/index.html; the CSP rules seems to be ignored; cross origin requests fail even with a default-src * CSP. Is this intended behaviour or a bug?

Re: CSP ignored when using remote content

2015-05-21 Thread Jesse
This is the intended behavior. The csp rules are defined by the page that is loaded, wherever it is. Pointing content.src to a remote server basically means, ignore anything that is in www/index.html. @purplecabbage risingj.com On Thu, May 21, 2015 at 2:16 PM, Pär p.majh...@gmail.com wrote:

Re: CSP ignored when using remote content

2015-05-21 Thread Pär
Thanks for the reply. Yes, the CSP rules are defined by the page that is loaded, wherever that is. The thing is that the behavior when loading that page from a remote server is different from the behavior when loading the page locally, even though its the exact same page. I have access origin=*