diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2021-03-28 20:40:17 +0100 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2021-04-16 14:41:40 +0100 |
commit | 2529597ea0201c147b4bb5fb713040b117368b50 (patch) | |
tree | ac96fd5f735a5d973f72b1ed5b1524275a578683 /src/html-error.h | |
parent | bc87de3482b8bbbc8e59651638eb8545831ccd64 (diff) |
reverse: redirect if path without trailing slash is detected
if for example:
ReversePath = "/foo/"
and user requests "http://tinyproxy/foo" the common behaviour for HTTP
servers is to send a http 301 redirect to the correct url.
we now do the same.
Diffstat (limited to 'src/html-error.h')
0 files changed, 0 insertions, 0 deletions