[
https://issues.apache.org/jira/browse/CB-8434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462644#comment-16462644
]
Martin commented on CB-8434:
----------------------------
This was some time ago, so I don't remember all the things. I think it was not
solved by cordova, but by myself (workaround with replaces the origin header on
the client). But as I don't use cordova today, ticket is not relevant anymore.
> 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: [email protected]
For additional commands, e-mail: [email protected]