mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
(refs #279)Fix redirect url generation.
This commit is contained in:
@@ -116,7 +116,7 @@ abstract class ControllerBase extends ScalatraFilter
|
|||||||
includeContextPath: Boolean = true, includeServletPath: Boolean = true)
|
includeContextPath: Boolean = true, includeServletPath: Boolean = true)
|
||||||
(implicit request: HttpServletRequest, response: HttpServletResponse) =
|
(implicit request: HttpServletRequest, response: HttpServletResponse) =
|
||||||
if (path.startsWith("http")) path
|
if (path.startsWith("http")) path
|
||||||
else baseUrl + url(path, params, includeContextPath, includeServletPath)
|
else baseUrl + url(path, params, false, false)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user