From 4e01b4b17f139ae35a9564bb0221ce0842b3b90f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 30 Jun 2022 16:03:41 +0100 Subject: [PATCH] Set "AllowEncodedSlashes NoDecode" for mediawiki sites https://community.openstreetmap.org/t/1817 https://phabricator.wikimedia.org/T261921 --- cookbooks/mediawiki/templates/default/apache.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/mediawiki/templates/default/apache.erb b/cookbooks/mediawiki/templates/default/apache.erb index 3182f8d58..dc3dc5eb0 100644 --- a/cookbooks/mediawiki/templates/default/apache.erb +++ b/cookbooks/mediawiki/templates/default/apache.erb @@ -32,6 +32,8 @@ DocumentRoot <%= @directory %> + AllowEncodedSlashes NoDecode + ProxyTimeout 300 RewriteCond %{SERVER_NAME} !=<%= @name %> -- 2.39.5