lukaszlenart commented on code in PR #912:
URL: https://github.com/apache/struts/pull/912#discussion_r1558851276
##########
core/src/main/java/org/apache/struts2/StrutsConstants.java:
##########
@@ -230,6 +230,8 @@ public final class StrutsConstants {
public static final String STRUTS_XWORKCONVERTER = "struts.xworkConverter";
public static final String STRUTS_ALWAYS_SELECT_FULL_NAMESPACE =
"struts.mapper.alwaysSelectFullNamespace";
+ /** Disable fallback to empty namespace when request namespace didn't
match any in action configuration */
+ public static final String STRUTS_DISABLE_EMPTY_NAMESPACE_FALLBACK =
"struts.disableActionConfigFallbackToEmptyNamespace";
Review Comment:
Wouldn't be better to have `struts.actionConfig.fallbackToEmptyNamespace`
with default value set to `true` instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]