You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Burger (JIRA)" <ji...@apache.org> on 2017/08/08 19:36:00 UTC

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

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

Michael Burger commented on CB-8434:
------------------------------------

Hi, did you find a solution for that??? I would be very greatfull to find a solution on this thx!

> 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
>
> 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.4.14#64029)

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