Skip to content
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

BAH-1240 | Removing check for response head. Oviyam sends a redirect URL which can be HTTP depending on setup, and in that case browser thrrows error for CORS #377

Merged
merged 2 commits into from
Sep 17, 2021

Conversation

angshu
Copy link
Member

@angshu angshu commented Sep 17, 2021

No description provided.

…L in some cases and they happen to be HTTP (if behind a reverse proxy), and browser without CORS header does not follow the URL
@gsluthra
Copy link
Contributor

gsluthra commented Sep 17, 2021

[From Angshu] We were checking using ajax request for HEAD to see if there was any result. However, oviyam being behind apache and sees the connection coming in in plain HTTP, and the redirection (302) can not be followed by the browser because of same origin policy (which we put in this release). As a result the study is not opened up.

@angshu angshu merged commit 1bfc5e8 into release-0.93 Sep 17, 2021
@angshu angshu deleted the BAH-1240-3 branch September 17, 2021 08:49
angshu added a commit that referenced this pull request Sep 17, 2021
…URL which can be HTTP depending on setup, and in that case browser thrrows error for CORS (#377)

* BAH-1240 | Removing check for response, as Oviyam sends a redirect URL in some cases and they happen to be HTTP (if behind a reverse proxy), and browser without CORS header does not follow the URL

* Minor changes to message and relevant translation. also corrected URL for repo in package json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants