You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2022/12/10 01:28:41 UTC
[myfaces] branch main updated: MYFACES-4524: Create exact mapping when non faces mapping matches servlet path
This is an automated email from the ASF dual-hosted git repository.
volosied pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/main by this push:
new dd6b54b25 MYFACES-4524: Create exact mapping when non faces mapping matches servlet path
new 15190273b Merge pull request #412 from volosied/MYFACES-4524
dd6b54b25 is described below
commit dd6b54b25a20391207ca48edfc5ffcad69cba0d9
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Thu Dec 8 16:36:03 2022 -0500
MYFACES-4524: Create exact mapping when non faces mapping matches servlet path
---
.../java/org/apache/myfaces/application/FacesServletMappingUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/impl/src/main/java/org/apache/myfaces/application/FacesServletMappingUtils.java b/impl/src/main/java/org/apache/myfaces/application/FacesServletMappingUtils.java
index 357ffdab3..c955592e9 100644
--- a/impl/src/main/java/org/apache/myfaces/application/FacesServletMappingUtils.java
+++ b/impl/src/main/java/org/apache/myfaces/application/FacesServletMappingUtils.java
@@ -293,7 +293,7 @@ public class FacesServletMappingUtils
}
if (mapping.equals(servletPath))
{
- return FacesServletMapping.createPrefixMapping(mapping);
+ return FacesServletMapping.createExactMapping(mapping); // MYFACES-4524
}
}
}