zeroflag commented on code in PR #786:
URL: https://github.com/apache/knox/pull/786#discussion_r1311785341
##########
gateway-provider-rewrite/src/main/java/org/apache/knox/gateway/filter/rewrite/api/CookieScopeServletFilter.java:
##########
@@ -43,7 +45,12 @@ public void init( FilterConfig filterConfig ) throws
ServletException {
@Override
protected void doFilter( HttpServletRequest request, HttpServletResponse
response, FilterChain chain )
throws IOException, ServletException {
- chain.doFilter(request, new CookieScopeResponseWrapper(response,
gatewayPath, topologyName));
+ if
("true".equals(request.getAttribute(DEFAULT_TOPOLOGY_FORWARD_ATTRIBUTE_NAME))) {
Review Comment:
That might be a bit better. I'll modify it.
--
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]