preserve query string on redirection

This commit is contained in:
Thibault Duplessis 2013-10-10 09:56:00 +02:00
parent bcb2037fae
commit f9ef78f1c8

View file

@ -18,5 +18,5 @@ final class I18nRequestHandler(pool: I18nPool, protocol: String) {
private def redirectUrl(req: RequestHeader) =
protocol +
I18nDomain(req.domain).withLang(pool preferred req).domain +
req.path
req.uri
}