-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Origin header of file://
sent for HTTP requests
#10311
Comments
Hello! Thanks for opening an issue with us! As this seems like more of a support question and with the fact that Ionic does not do anything different with Http than normal angular does, i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic! |
I already asked on the forums and haven't had a response in over a week, that's why I created an issue. ;) https://forum.ionicframework.com/t/origin-header-of-file-sent-for-http-requests/77413 Normal Angular runs in the browser, so there's always an |
Latest discussion on the same topic: |
Consolidating to #15057 (please see my comment). |
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I'm developing an Ionic 2 app that authenticates against an API that has CORS enabled, but only allows for
http://
andhttps://
origins to be configured. If I run my Ionic app in iOS Simulator with Charles Proxy, I can see that anOrigin
header with a value offile://
is sent when I try to login.This seems to go against the advice in this blog post.
The text was updated successfully, but these errors were encountered: