ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.97k stars 532 forks source link

fix regex bug #489

Open alaric-nx opened 5 years ago

alaric-nx commented 5 years ago

will match wrong port number while URI contains other numbers (eg. password begins with number)

royrusso commented 5 years ago

I can't pull this in to master, as the develop branch is very different. I'm not a JS expert, but I believe this collides with https://github.com/ElasticHQ/elasticsearch-HQ/blob/0a43f042b8202f14bc0c8e13d6d2c9f0a4ccb2c6/ui/src/containers/home/home.controller.js#L40