mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 02:56:08 +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)
|
||||
(implicit request: HttpServletRequest, response: HttpServletResponse) =
|
||||
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