You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/10 11:09:05 UTC

[incubator-ponymail-foal] branch master updated: AllowEncodedSlashes must be enabled

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new b6bc037  AllowEncodedSlashes must be enabled
b6bc037 is described below

commit b6bc037de201a4e9582a2c57f761bb26570c9ee9
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jan 10 11:08:13 2022 +0000

    AllowEncodedSlashes must be enabled
---
 INSTALL.md       | 3 +++
 server/README.md | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/INSTALL.md b/INSTALL.md
index 6d20e60..e57555c 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -66,7 +66,10 @@ LoadModule proxy_http_module ...
     ServerName ponymail.example.org
     DocumentRoot /var/www/ponymail-foal/webui/
     ProxyPass /api/ http://localhost:8080/api/
+    # PathInfo is needed for threads
     AcceptPathInfo On
+    # Also needed for threads to be able to handle message-ids with embedded /:
+    AllowEncodedSlashes On # (or NoDecode)
 </VirtualHost>
 ~~~
 
diff --git a/server/README.md b/server/README.md
index fb7def2..6798f56 100644
--- a/server/README.md
+++ b/server/README.md
@@ -43,6 +43,8 @@ An example Apache HTTPd configuration could be (for plain-text HTTP):
     DocumentRoot /var/www/foal/webui/
     # PathInfo is needed for threads
     AcceptPathInfo On
+    # Also needed for threads to be able to handle message-ids with embedded /:
+    AllowEncodedSlashes On # (or NoDecode)
     ProxyPass /api/ http://localhost:8080/api/
     <Directory /var/www/foal/webui/>
         Require all granted