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

only allow cors when using a special flag #11719

Merged
merged 2 commits into from
Nov 22, 2018
Merged

Conversation

jlipps
Copy link
Member

@jlipps jlipps commented Nov 21, 2018

@dpgraham
Copy link
Contributor

Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@jlipps
Copy link
Member Author

jlipps commented Nov 22, 2018

good idea, @dpgraham. added.

@dpgraham dpgraham merged commit caa40a9 into appium:master Nov 22, 2018
dpgraham pushed a commit that referenced this pull request Nov 22, 2018
* only allow cors when using a special flag

* add docs about --allow-cors flag
@jlipps
Copy link
Member Author

jlipps commented Nov 22, 2018

i guess we should note this in the changelog as a breaking change

@jlipps jlipps deleted the jlipps-cors branch November 22, 2018 22:19
@dpgraham
Copy link
Contributor

Added it to changelog

zcmgyu added a commit to zcmgyu/selenium that referenced this pull request Sep 6, 2019
Use case: When make a request to Selenium server though API in
JS code in browser, the request will be ignored by CORS policy.

So, I added —allow-cors flag to turn CORS compatibility mode on,
which will allow connections to the Selenium server from within
websites hosted on any domain

I'm inspired by @jlipps. He made the same thing in Appium server.
appium/appium#11719
shs96c pushed a commit to SeleniumHQ/selenium that referenced this pull request Sep 10, 2019
Use case: When make a request to Selenium server though API in
JS code in browser, the request will be ignored by CORS policy.

So, I added —allow-cors flag to turn CORS compatibility mode on,
which will allow connections to the Selenium server from within
websites hosted on any domain

I'm inspired by @jlipps. He made the same thing in Appium server.
appium/appium#11719
jimevans pushed a commit to jimevans/selenium that referenced this pull request Sep 13, 2019
Use case: When make a request to Selenium server though API in
JS code in browser, the request will be ignored by CORS policy.

So, I added —allow-cors flag to turn CORS compatibility mode on,
which will allow connections to the Selenium server from within
websites hosted on any domain

I'm inspired by @jlipps. He made the same thing in Appium server.
appium/appium#11719
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.

None yet

3 participants