Skip to content

Commit bc53703

Browse files
authored
Merge pull request #16 from RafaelOlivra/main
fix: assure appended .htaccess files starts on a new line
2 parents f044011 + 6511723 commit bc53703

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)