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

Fix prependMissingScheme with underscore #949

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

ihor-sviziev
Copy link
Contributor

While working with ElasticSearch in docker using docker-compose - hostname for my ES was elasticsearch.myproject_default. I tried to use it with this ES client - it failed to connect.

I configured hostname to http://elasticsearch.myproject_default:9200. After changing to elasticsearch.myproject_default:9200 my issue was fixed, but that wasn't expected at all

Deeper investigation showed that issue caused by incorrect URL validation. More info: https://stackoverflow.com/questions/39539468/php-filter-validate-url-not-finding-subdomains-with-underscore

@ihor-sviziev ihor-sviziev changed the title Fix prependMissingScheme with underscrore Fix prependMissingScheme with underscore Sep 18, 2019
@ezimuel ezimuel self-assigned this Sep 19, 2019
@ezimuel ezimuel merged commit 9c6e356 into elastic:master Sep 19, 2019
@ezimuel
Copy link
Contributor

ezimuel commented Sep 19, 2019

Thanks @ihor-sviziev, good catch!

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