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 elasticsearch url parsing #3671

Merged
merged 1 commit into from Feb 24, 2017

Conversation

urso
Copy link

@urso urso commented Feb 24, 2017

use regex to check if host given contains the protocol scheme. If scheme is
missing, prepend before attempting to parse the complete URL

@urso urso added the review label Feb 24, 2017
use regex to check if host given contains the protocol scheme. If scheme is
missing, prepend before attempting to parse the complete URL
@urso urso added bug needs_backport PR is waiting to be backported to other branches. labels Feb 24, 2017
@monicasarbu monicasarbu merged commit 1391731 into elastic:master Feb 24, 2017
@ruflin
Copy link
Member

ruflin commented Feb 27, 2017

I would not backport this as this fixes an issue we have in Golang 1.8. As I don't see a need to get the 5.x releases on 1.8, there is no need to backport it.

monicasarbu pushed a commit to monicasarbu/beats that referenced this pull request Mar 29, 2017
use regex to check if host given contains the protocol scheme. If scheme is
missing, prepend before attempting to parse the complete URL
(cherry picked from commit 1391731)
@monicasarbu monicasarbu added :Infra v5.4.0 and removed needs_backport PR is waiting to be backported to other branches. labels Mar 29, 2017
andrewkroh pushed a commit that referenced this pull request Mar 31, 2017
* Fix elasticsearch url parsing (#3671)

use regex to check if host given contains the protocol scheme. If scheme is
missing, prepend before attempting to parse the complete URL
(cherry picked from commit 1391731)
@monicasarbu monicasarbu added libbeat and removed :Infra labels Apr 3, 2017
@urso urso deleted the fix/es-output-url-parsing branch February 19, 2019 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants