This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit c3eb91ee439599f96a59cdf64dc0d6453023be78 Author: Mark Thomas <[email protected]> AuthorDate: Tue Mar 1 14:57:34 2022 +0000 Minor fixes --- java/org/apache/catalina/connector/Response.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/connector/Response.java b/java/org/apache/catalina/connector/Response.java index e83b137..f3402e8 100644 --- a/java/org/apache/catalina/connector/Response.java +++ b/java/org/apache/catalina/connector/Response.java @@ -1290,12 +1290,12 @@ public class Response implements HttpServletResponse { Context context = getContext(); // If no ROOT context is defined, the context can be null. // In this case, the default Tomcat values are assumed, but without - // respect to org.apache.catalina.STRICT_SERVLET_COMPLIANCE. + // reference to org.apache.catalina.STRICT_SERVLET_COMPLIANCE. boolean reqHasContext = context == null; String locationUri; // Relative redirects require HTTP/1.1 if (getRequest().getCoyoteRequest().getSupportsRelativeRedirects() && - (!reqHasContext || context.getUseRelativeRedirects())) { + (!reqHasContext || context.getUseRelativeRedirects())) { locationUri = location; } else { locationUri = toAbsolute(location); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
