You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2019/08/26 18:05:45 UTC
[GitHub] [knox] risdenk commented on a change in pull request #135:
KNOX-1995 - If a rule doesn't match, shouldn't ERROR and return null
risdenk commented on a change in pull request #135: KNOX-1995 - If a rule doesn't match, shouldn't ERROR and return null
URL: https://github.com/apache/knox/pull/135#discussion_r317726104
##########
File path: gateway-provider-rewrite/src/main/java/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteProcessor.java
##########
@@ -165,7 +165,6 @@ public Template rewrite( Resolver resolver, Template inputUri, Direction directi
}
} else {
LOG.failedToRewriteUrl( inputUri, direction, effectiveRuleName, stepStatus );
- outputUri = null;
Review comment:
Yea understood - fixed this in latest patch revision.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services