http://foo shouldn't be replaced with http:/foo

This commit is contained in:
Vassiliy.Kudryashov
2017-06-19 16:10:55 +03:00
parent 4e123d6fce
commit b726fff0e3
@@ -73,7 +73,9 @@ public class HelpManagerImpl extends HelpManager {
}
String productVersion = info.getMajorVersion() + "." + minorVersion;
String url = (info.getWebHelpUrl() + "/" + productVersion + "/?" + id).replaceAll("//", "/");
String url = info.getWebHelpUrl();
if (!url.endsWith("/")) url += "/";
url += productVersion + "/?" + id;
if (PlatformUtils.isJetBrainsProduct()) {
String productCode = info.getBuild().getProductCode();