commit | dcb75c4a83246f4907cdd5ffac9cbd7b71732816 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jan 10 00:24:22 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 10 00:24:22 2010 +0100 |
tree | 67cc308148af0dbd9f1706c77d20c5f75951ca9e | |
parent | 962c3f4aab6307bd1c0b0b1aa11f8e4e60c94ea0 [diff] |
[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.