diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index ef0f69e97dc2200777e60d36ca0f868855f7bbce..4384f6a7456f38d00eed8ffa571f752320841a06 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -1204,7 +1204,7 @@ public class Functions { return joinPath(Stapler.getCurrentRequest().getContextPath(),urlName); else // relative URL name - return joinPath(Stapler.getCurrentRequest().getContextPath(),itUrl,urlName); + return joinPath(Stapler.getCurrentRequest().getContextPath()+'/'+itUrl,urlName); } /**