summaryrefslogtreecommitdiff
path: root/src/tipideed
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-08-22 10:16:57 +0000
committerLaurent Bercot <ska@appnovation.com>2023-08-22 10:16:57 +0000
commit97eae758b6ba3f4f951a54282a1fc57c721cf037 (patch)
tree2fe155007c1a906742e69395152347115cdcdc6e /src/tipideed
parenta127bde4222baccfb77b561b1461c93e1911e8f0 (diff)
downloadtipidee-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.c2
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)
{