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/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8adb63b  Attic no longer redirects dist folders
8adb63b is described below

commit 8adb63bf8030dbcdf6465b241c7cdd81a3c63eb3
Author: Sebb <s...@apache.org>
AuthorDate: Thu May 17 16:41:23 2018 +0100

    Attic no longer redirects dist folders
---
 tools/mirror_check.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mirror_check.rb b/tools/mirror_check.rb
index a99887e..c5391fb 100755
--- a/tools/mirror_check.rb
+++ b/tools/mirror_check.rb
@@ -30,7 +30,7 @@ E: check index against TLP list m!> ?$dir/?<!
 E: tlp dir: check can be read (mirrors sometimes have incorrect protections)
 W: 'favicon.ico' and 'zzz/' must both be in page
 W: favicon.ico must appear after zzz/ to show folders first
-E: 'harmony' should be redirected with 301
+E: 'harmony' should be redirected with 404
 E: 'zzz/___' should generate 404
 W: 'zzz/README' content-type text/plain
 E: header must match /<h\d>Apache Software Foundation Distribution 
Meta-Directory</h\d>/
@@ -250,7 +250,7 @@ def checkHTTP(base)
   checkHdrFtr(base+'incubator/', ibody)
   checkIndex(ibody, :podlings)
 
-  check_page(base, 'harmony/', :E, expectedStatus="301")
+  check_page(base, 'harmony/', :E, expectedStatus="404")
 
   zbody = check_page(base, HTTPDIR)
 # Not sure this is useful on its own anymore

-- 
To stop receiving notification emails like this one, please contact
s...@apache.org.

Reply via email to