mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
WW-2164 Backport to 2.0.x branch for error in url when namespace is blank.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@574349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -108,12 +108,12 @@ public class PortletUrlHelper {
|
||||
if(!action.startsWith("/") && !namespace.endsWith("/")) {
|
||||
resultingAction.append("/");
|
||||
}
|
||||
resultingAction.append(action);
|
||||
LOG.debug("Resulting actionPath: " + action);
|
||||
}
|
||||
resultingAction.append(action);
|
||||
if(TextUtils.stringSet(method)) {
|
||||
resultingAction.append("!").append(method);
|
||||
}
|
||||
LOG.debug("Resulting actionPath: " + resultingAction);
|
||||
params.put(PortletActionConstants.ACTION_PARAM, new String[] { resultingAction.toString() });
|
||||
|
||||
PortletURL url = null;
|
||||
|
||||
Reference in New Issue
Block a user