Skip to content

Commit 6511723

Browse files
committed
fix: assure appended .htaccess files starts on a new line
1 parent f044011 commit 6511723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htaccess.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ if not htaccess then
217217
fail(C_SECURITY_VIOLATION_ERROR)
218218
end
219219
local relative_dir = last_htaccess_dir:sub(rootpath:len()+1)
220-
htaccess = C_DIR..' '..relative_dir..'\n'..htaccess..current_htaccess
220+
htaccess = C_DIR..' '..relative_dir..'\n'..htaccess..current_htaccess..'\n'
221221
end
222222
end
223223
read_htaccess() -- process file in root directory first

0 commit comments

Comments
 (0)