projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b8fc4
)
Add UTF-8 charset for all .txt files on ftp.d.o
author
Paul Wise
<pabs@debian.org>
Mon, 19 Jun 2017 06:24:50 +0000
(14:24 +0800)
committer
Paul Wise
<pabs@debian.org>
Mon, 19 Jun 2017 06:28:53 +0000
(14:28 +0800)
The dedication text files are UTF-8 encoded and
various browsers do not do automatic charset detection.
Suggested-by: KiBi on IRC (IIRC)
modules/roles/templates/apache-ftp.debian.org.erb
patch
|
blob
|
history
diff --git
a/modules/roles/templates/apache-ftp.debian.org.erb
b/modules/roles/templates/apache-ftp.debian.org.erb
index
6dda372
..
534c8b1
100644
(file)
--- a/
modules/roles/templates/apache-ftp.debian.org.erb
+++ b/
modules/roles/templates/apache-ftp.debian.org.erb
@@
-13,6
+13,8
@@
ServerAlias debian.backend.mirrors.debian.org
ServerAlias *.debian.backend.mirrors.debian.org
+ AddCharset UTF-8 .txt
+
RedirectMatch "^/$" /debian/
Alias /debian/ <%= @archive_root %>/