Willy Tarreau cd2ae4f342 [MINOR] http: fix double slash prefix with server redirect
When using server redirection, it is possible to specify a path
consisting of only one slash. While this is discouraged (risk of
loop) it may sometimes be useful combined with content switching.
The prefixing of a '/' then causes two slashes to be returned in
the response. So we now do as with the other redirects, don't
prepend a slash if it's alone.
(cherry picked from commit dcb75c4a83246f4907cdd5ffac9cbd7b71732816)
2010-01-28 23:16:36 +01:00
..
2007-11-28 14:20:44 +01:00
2007-11-28 14:20:44 +01:00
2007-11-28 14:20:44 +01:00
2009-01-25 13:49:53 +01:00