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 27a56abf Allow original privacy link (now redirected)
27a56abf is described below
commit 27a56abfd1a7ef5ab36965bdc2488e23eef4d9b9
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 11 23:48:38 2023 +0100
Allow original privacy link (now redirected)
---
lib/whimsy/sitestandards.rb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb
index ff9978c3..5c59c23c 100644
--- a/lib/whimsy/sitestandards.rb
+++ b/lib/whimsy/sitestandards.rb
@@ -110,10 +110,13 @@ module SiteStandards
CHECK_DOC => 'All website content SHOULD include a copyright notice for
the ASF.',
},
- 'privacy' => { # link_check
+ 'privacy' => { # link_check; allow original link (now redirected)
CHECK_TEXT => %r{Privacy Policy}i,
CHECK_CAPTURE => %r{(Privacy)}i,
- CHECK_VALIDATE =>
%r{\Ahttps://privacy\.apache\.org/policies/privacy-policy-public.html\z}i,
+ CHECK_VALIDATE =>
%r{\Ahttps://privacy\.apache\.org/policies/privacy-policy-public\.html\z
+ |
+
\Ahttps?://(?:www\.)?apache\.org/foundation/policies/privacy\.html\z
+ }ix,
CHECK_TYPE => true,
CHECK_POLICY =>
'https://www.apache.org/foundation/marks/pmcs.html#navigation',
CHECK_DOC => 'All websites must link to the Privacy Policy.',