aboutsummaryrefslogtreecommitdiff
path: root/libweb
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-10 11:20:25 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-10 11:20:25 +0200
commit4fa8915c8cd42b8bc30df3714e5163c4f4bece89 (patch)
tree38c292257cd57617f1782fe9261f0367f700bf6b /libweb
parent942559d321551e93cd6bae0b03de03e7cc13042c (diff)
downloadslcl-4fa8915c8cd42b8bc30df3714e5163c4f4bece89.tar.gz
page.c: Ensure trailing '/' on dir download URLs
Otherwise, it is not ensured web browsers would translate a relative directory such as "dir/.." to a URL with a trailing '/'. Therefore, a POST request to "/user?download=1" would fail because slcl only considers "/user/" (note the trailing '/') as valid.
Diffstat (limited to 'libweb')
0 files changed, 0 insertions, 0 deletions