You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/05/02 21:45:05 UTC
[whimsy] branch master updated: Allow old URL to be used
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 f6a918a7 Allow old URL to be used
f6a918a7 is described below
commit f6a918a719c1e8dae3da3da1ec75a65d9cef95e8
Author: Sebb <se...@apache.org>
AuthorDate: Mon May 2 22:44:59 2022 +0100
Allow old URL to be used
---
lib/whimsy/sitestandards.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb
index 25f7ac17..101e186d 100644
--- a/lib/whimsy/sitestandards.rb
+++ b/lib/whimsy/sitestandards.rb
@@ -113,7 +113,7 @@ module SiteStandards
'privacy' => { # link_check
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{\A(https://privacy\.apache\.org/policies/privacy-policy-public.html|https?://(www\.)?apache\.org/foundation/policies/privacy\.html)\z}i,
CHECK_TYPE => true,
CHECK_POLICY => 'https://lists.apache.org/thread/bz0lv2wlh90t58n73wr85qoof7vdvdxt',
CHECK_DOC => 'All websites must link to the Privacy Policy.',