Call correct function to check file paths
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled

This commit is contained in:
Jamie Cameron
2026-09-19 21:01:05 -07:00
parent ef22c05115
commit a0a20063fa
2 changed files with 2 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ if (defined($in{'virt'})) {
}
}
else {
&allowed_auth_file($in{'file'}) || &error($text{'htindex_ecannot'});
if (defined($in{'idx'})) {
# files within .htaccess file
$hconf = &get_htaccess_config($in{'file'});

View File

@@ -34,6 +34,7 @@ if (defined($in{'virt'})) {
}
}
else {
&allowed_auth_file($in{'file'}) || &error($text{'htindex_ecannot'});
if (defined($in{'idx'})) {
# files within .htaccess file
$hconf = &get_htaccess_config($in{'file'});