Skip to content
Snippets Groups Projects
Commit 734adf31 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Don't escape things in the htaccess.ejs template

it's not HTML, so just replace things as is.

Fixes the syntax in the CSP line
parent 9fac8db2
No related branches found
No related tags found
No related merge requests found
Pipeline #16054 passed
DirectoryIndex <%= getUrl(name + '.html') %> DirectoryIndex <%- getUrl(name + '.html') %>
<FilesMatch "^(de|en|)$"> <FilesMatch "^(de|en|)$">
FallbackResource <%= getUrl(name + '.html') %> FallbackResource <%- getUrl(name + '.html') %>
</FilesMatch> </FilesMatch>
Header set Cache-Control "must-revalidate, max-age=60" Header set Cache-Control "must-revalidate, max-age=60"
Header set Content-Security-Policy "<%= CSP %>" Header set Content-Security-Policy "<%- CSP %>"
# Apache adds a "-gzip" suffix to the etag when it uses gzip but doesn't # Apache adds a "-gzip" suffix to the etag when it uses gzip but doesn't
# take that into account when receiving requests. # take that into account when receiving requests.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment