diff --git a/mongoose.c b/mongoose.c index b72fa76a..b36e13f1 100644 --- a/mongoose.c +++ b/mongoose.c @@ -4100,7 +4100,7 @@ static void handle_request(struct mg_connection *conn) { "Directory listing denied"); } #ifdef USE_LUA - } else if (match_prefix("**.lsp$", 7, path) > 0) { + } else if (match_prefix("**.lp$", 6, path) > 0) { handle_lsp_request(conn, path, &file); #endif #if !defined(NO_CGI) diff --git a/test/page.lsp b/test/page.lp similarity index 100% rename from test/page.lsp rename to test/page.lp