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

Martin commented on CB-8434:
----------------------------

I don't know what the solution was. Ticket can be closed.
If the slash in file-URI is still missing, I would look for a inject mechanism 
(Cordova plugin etc.) that add the missing character in your request.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to