File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
grails-web-url-mappings/src/main/groovy/grails/web/mapping Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,13 @@ class ResponseRedirector {
9393
9494 boolean permanent = getBooleanArgument(ARGUMENT_PERMANENT , arguments)
9595 boolean moved = getBooleanArgument(ARGUMENT_MOVED , arguments, true )
96-
97-
9896 boolean absolute = getBooleanArgument(ARGUMENT_ABSOLUTE , arguments, true )
9997
10098 final Map namedParameters = new LinkedHashMap<> (arguments)
10199 // we generate a relative link with no context path so that the absolute can be calculated by combining the serverBaseURL
102100 // which includes the contextPath
103101 // @Issue('11673')
104- if (absolute) namedParameters. put(LinkGenerator . ATTRIBUTE_CONTEXT_PATH , BLANK )
102+ if (absolute) namedParameters. put(LinkGenerator . ATTRIBUTE_CONTEXT_PATH , BLANK )
105103
106104 // If the request parameters contain "keepParamsWhenRedirect = true", then we add the original params. The
107105 // new attribute can be used from UrlMappings to redirect from old URLs to new ones while keeping the params
You can’t perform that action at this time.
0 commit comments