You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by GitBox <gi...@apache.org> on 2021/07/07 15:06:22 UTC

[GitHub] [shiro] zAlbee commented on a change in pull request #309: [SHIRO-825] Fixes "IllegalArgumentException: There is no configured chain under the name/key"

zAlbee commented on a change in pull request #309:
URL: https://github.com/apache/shiro/pull/309#discussion_r665461423



##########
File path: web/src/test/java/org/apache/shiro/web/filter/mgt/PathMatchingFilterChainResolverTest.java
##########
@@ -255,4 +255,44 @@ public void testMultipleChainsPathEndsWithSlash() {
         FilterChain resolved = resolver.getChain(request, response, chain);
         assertThat(resolved, notNullValue());
     }
+
+    /**
+     * Test asserting <a href="https://issues.apache.org/jira/browse/SHIRO-825">SHIRO-825<a/>.
+     */
+    @Test
+    public void testGetChainWhenPathEndsWithSlash() {

Review comment:
       I verified that this test passes in Shiro 1.7.0 and fails in 1.7.1 (without the fix). Thanks!




-- 
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: commits-unsubscribe@shiro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org