You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sunil (JIRA)" <ji...@apache.org> on 2018/05/03 11:15:00 UTC
[jira] [Updated] (CB-8434) XHR contains Origin-Header file://
[ https://issues.apache.org/jira/browse/CB-8434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sunil updated CB-8434:
----------------------
Attachment: valFromDevice.png
> XHR contains Origin-Header file://
> ----------------------------------
>
> Key: CB-8434
> URL: https://issues.apache.org/jira/browse/CB-8434
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-android, cordova-lib
> Affects Versions: 3.6.3
> Environment: Windows 7(x64), Android 4.4.4, Cordova App
> Reporter: Martin
> Priority: Major
> Attachments: valFromDevice.png
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org