Skip to content

Commit 569f3d0

Browse files
committed
Scanning tweaks
1 parent 69a73dc commit 569f3d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/whimsy/sitestandards.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ module SiteStandards
5151
CHECK_DOC => 'All projects must feature some prominent link back to the main ASF homepage at http://www.apache.org/',
5252
},
5353
# <script src="https://www.apachecon.com/event-images/snippet.js">
54-
# https://events.apache.org/x/current-event[.html]
55-
# https://[www.]apache.org/events/current-event[.html]
54+
# https://events.apache.org/
55+
# https://[www.]apache.org/events/current-event[.html] => https://events.apache.org/
5656
'events' => { # Custom: a_href.include? 'apache.org/events/' then custom check for img
5757
CHECK_TEXT => nil,
58-
CHECK_CAPTURE => %r{(events|x)/current-event|event-images},
58+
CHECK_CAPTURE => %r{apachecon\.com/event-images|events\.apache\.org|apache\.org/events/current-event},
5959
CHECK_VALIDATE => %r{^https?://((www\.)?apache\.org/events/current-event|events\.apache\.org|www\.apachecon\.com/event-images/snippet\.js)},
6060
CHECK_TYPE => 'href',
6161
CHECK_POLICY => 'https://www.apachecon.com/event-images/',

0 commit comments

Comments
 (0)