You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Martin (JIRA)" <ji...@apache.org> on 2015/02/05 19:30:37 UTC

[jira] [Created] (CB-8434) XHR contains Origin-Header file://

Martin created CB-8434:
--------------------------

             Summary: XHR contains Origin-Header file://
                 Key: CB-8434
                 URL: https://issues.apache.org/jira/browse/CB-8434
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CordovaLib
    Affects Versions: 3.6.3
         Environment: Windows 7(x64), Android 4.4.4, Cordova App
            Reporter: Martin


My Cordova app calls some REST-API which requires CORS. The server itself responds with a code 403. If I look at the request headers, I see that origin contains "file://" which is evaluated as invalid on server-side.

Valid origin values would be: "file:///" oder "null".

Any solution to this issue?



--
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