You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/08/09 01:19:45 UTC
[whimsy] 02/02: check that URLs look like URLs
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit be2e725e9515af20c301229e7e9839e94c564872
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Aug 8 21:19:14 2017 -0400
check that URLs look like URLs
---
www/site.cgi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/www/site.cgi b/www/site.cgi
index 4cee420..3e09dce 100755
--- a/www/site.cgi
+++ b/www/site.cgi
@@ -22,11 +22,11 @@ CHECKS = {
'image' => %r{.},
# TODO more checks needed here, e.g. ASF registered and 3rd party marks
'trademarks' => %r{trademarks of [Tt]he Apache Software Foundation},
- 'events' => %r{apache.org/events/current-event},
- 'license' => %r{apache.org/licenses/$}, # should link to parent license page only
- 'sponsorship' => %r{apache.org/foundation/sponsorship},
- 'security' => %r{apache.org/[Ss]ecurity},
- 'thanks' => %r{apache.org/foundation/thanks},
+ 'events' => %r{^https?://.*apache.org/events/current-event},
+ 'license' => %r{^https?://.*apache.org/licenses/$}, # should link to parent license page only
+ 'sponsorship' => %r{^https?://.*apache.org/foundation/sponsorship},
+ 'security' => %r{^https?://.*apache.org/[Ss]ecurity},
+ 'thanks' => %r{^https?://.*apache.org/foundation/thanks},
}
DOCS = {
'uri' => ['https://www.apache.org/foundation/marks/pmcs#websites',
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.