SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using the root context, and harden generateNodeName to not trust the caller as far as leading/trailing slashes (merge r1424755)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1424762 13f79535-47bb-0310-9956-ffa450edef68
5 files changed