We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6d33b commit 0fb7bc7Copy full SHA for 0fb7bc7
htaccess.lua
@@ -813,6 +813,8 @@ local current_dir
813
local stat_instructions_used = {}
814
local stat_blocks_used = {}
815
for statement in htaccess:gmatch('[^\r\n]+') do
816
+ -- Trim leading whitespace
817
+ statement = statement:gsub("^%s*", "");
818
if statement:sub(1,1) == '<' then
819
-- handle blocks
820
if statement:sub(2,2) ~= '/' then
0 commit comments