This is an automated email from the ASF dual-hosted git repository.
rclabo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new fca5ccfe8 website/site/.htaccess - bug fix by removing BOM and update
for beta00017 redirection
fca5ccfe8 is described below
commit fca5ccfe84436b29e1e987600f880257ba2d928c
Author: rclabo <[email protected]>
AuthorDate: Wed Oct 30 14:49:05 2024 -0400
website/site/.htaccess - bug fix by removing BOM and update for beta00017
redirection
---
websites/site/.gitattributes | 2 +-
websites/site/.htaccess | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/websites/site/.gitattributes b/websites/site/.gitattributes
index 7803b1f16..8999b4d3f 100644
--- a/websites/site/.gitattributes
+++ b/websites/site/.gitattributes
@@ -1 +1 @@
-.htaccess text eol=lf
+.htaccess text eol=lf working-tree-encoding=UTF-8
diff --git a/websites/site/.htaccess b/websites/site/.htaccess
index 96d4584f7..578948c69 100644
--- a/websites/site/.htaccess
+++ b/websites/site/.htaccess
@@ -1,4 +1,4 @@
-#
-----------------------------------------------------------------------------------
+#
-----------------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@@ -32,7 +32,8 @@
# version, with [R=301] signaling permanent redirects and [L] preventing
further
# rule processing.
#
-# Note: This file is line ending sensitive. MUST use LF line endings.
+# Note: This file is line ending and BOM sensitive. It MUST use LF line
endings and
+# MUST NOT have a BOM.
RewriteEngine On
@@ -40,5 +41,5 @@ RewriteEngine On
# Redirect /docs/latest/ to /docs/3.0.3/
RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L]
-# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00016/
-RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00016/$1 [R=301,L]
+# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/
+RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]
\ No newline at end of file