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

lukaszlenart pushed a commit to branch fix/redirect
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 47b1afb6a66eedeed2ee0bdb0cffb6ea5f01a13d
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Sun Aug 11 16:30:21 2024 +0200

    Fixes redirect to announcement page
---
 source/.htaccess   | 4 ++++
 source/download.md | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/source/.htaccess b/source/.htaccess
index 80cf212d2..0b7b7435f 100644
--- a/source/.htaccess
+++ b/source/.htaccess
@@ -28,3 +28,7 @@ RedirectMatch \/downloads /releases
 RedirectMatch \/announce.html(#a[0-9]+)? /announce-2024.html$1
 
 ErrorDocument 404 /404
+
+<IfModule mod_headers.c>
+    Header set Content-Security-Policy "default-src 'self'; script-src 'self';"
+</IfModule>
diff --git a/source/download.md b/source/download.md
index 9afd1e900..18df25551 100644
--- a/source/download.md
+++ b/source/download.md
@@ -25,8 +25,9 @@ main distribution directory.
 
 The [Apache Struts {{ site.current_version }}](//struts.apache.org)  is an 
elegant, extensible framework
 for creating enterprise-ready Java web applications. It is available in a full 
distribution, or as separate library, 
-source, example and documentation distributions. Struts {{ 
site.current_version }} is the "best available" 
-version of Struts in the 6.x series.
+source, example and documentation distributions.
+
+Struts {{ site.current_version }} is the "best available" version of Struts in 
the 6.x series.
 
 - [Version Notes]({{ site.wiki_url }}/Version+Notes+{{ site.current_version }})
 - Source:

Reply via email to