vertx-redis-client
vertx-redis-client copied to clipboard
feat - check wrong connectionString syntax via host&port parse result
Motivation
Hey, I'm using vertx-redis-client
in my project and I mistook the connection string from something like redis://domain:port
to redis://:domain:port
.
The weird thing is that the connection string with the wrong syntax worked, of course not to my specified host and port, but to the 127.0.0.1:6379
. It spent me quite a while to figure out what happened there and I hope no other developers fall into the same trap again, so here comes the Pull Request.
Conformance
- [x] Your commits should be signed and you should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines