Browse Source

Fix path expansion in corehandlers.sh

Frans Bergman 3 months ago
parent
commit
aa1162d781
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/corehandlers.sh

+ 1 - 1
bin/corehandlers.sh

@@ -19,7 +19,7 @@ handler() {
 handler_body_main() {
     if [ -d "$SITE_DIR/$REQUEST_PATH" ]; then
         handler "$SITE_DIR/$REQUEST_PATH"/index.*
-    elif [ -f "$SITE_DIR/$REQUEST_PATH.*" ]; then
+    elif [ -f "$SITE_DIR/$REQUEST_PATH".* ]; then
         handler "$SITE_DIR/$REQUEST_PATH".*
     fi
 }