mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
http://foo shouldn't be replaced with http:/foo
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user