From 13a08c508005b9c3b280c05459e943a268b5ccc5 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Thu, 6 May 2021 11:47:53 -0400 Subject: Fixed static file handler to allow subdirectories properly. Fixed directory file listing under Linux. Release listing now works through CGI. --- captain/requtils.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'captain/requtils.f90') diff --git a/captain/requtils.f90 b/captain/requtils.f90 index 01c4472..04ef6cf 100644 --- a/captain/requtils.f90 +++ b/captain/requtils.f90 @@ -134,7 +134,7 @@ contains resp%temporary_file = .false. call req%path_component(1, category) - call req%path_component(2, filename) + call req%path_starting_with_component(2, filename) resp%body_filename => get_special_full_filename(trim(category), trim(filename)) -- cgit v1.2.3