diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-22 10:16:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-22 10:16:57 +0000 |
commit | 97eae758b6ba3f4f951a54282a1fc57c721cf037 (patch) | |
tree | 2fe155007c1a906742e69395152347115cdcdc6e /src/tipideed | |
parent | a127bde4222baccfb77b561b1461c93e1911e8f0 (diff) | |
download | tipidee-97eae758b6ba3f4f951a54282a1fc57c721cf037.tar.xz |
Fix redirection lookup
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed')
-rw-r--r-- | src/tipideed/tipideed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c index 42e65a6..e1021d3 100644 --- a/src/tipideed/tipideed.c +++ b/src/tipideed/tipideed.c @@ -229,7 +229,7 @@ static inline int serve (tipidee_rql *rql, char const *docroot, size_t docrootle if (rql->m != TIPIDEE_METHOD_OPTIONS) { tipidee_redirection rd = TIPIDEE_REDIRECTION_ZERO ; - int e = tipidee_conf_get_redirection(&g.conf, fn, docrootlen, &rd) ; + int e = tipidee_conf_get_redirection(&g.conf, docroot, docrootlen, rql->uri.path, &rd) ; if (e == -1) die500sys(rql, 111, "get redirection data for ", fn) ; if (e) { |