From e251375c0c879bc72c6a4e788a603dbbc5401707 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 23 Oct 2012 20:21:24 +0100 Subject: [PATCH] Using .lp extension for Lua server pages --- mongoose.c | 2 +- test/{page.lsp => page.lp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{page.lsp => page.lp} (100%) 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