@@ -133,7 +133,7 @@ def check_html_valid(url, response, args):
133133 key = re .sub ("/draft-[a-z0-9-]+/" , "/draft-foo/" , key )
134134 key = re .sub ("/group/[a-z0-9-]+/" , "/group/foo/" , key )
135135 key = re .sub ("/ipr/search/.*" , "/ipr/search/" , key )
136- key = re .sub ("/meeting/[0-9 ]+/agenda/[0-9a-z]+/" , "/meeting/nn/agenda/foo/" , key )
136+ key = re .sub ("/meeting/[-0-9a-z ]+/agenda/[0-9a-z]+/" , "/meeting/nn/agenda/foo/" , key )
137137 key = re .sub ("/release/[0-9dev.]+/" , "/release/n.n.n/" , key )
138138 key = re .sub ("/rfc[0-9]+/" , "/rfcnnnn/" , key )
139139 key = re .sub ("/rg/[a-z0-9-]+/" , "/rg/foo/" , key )
@@ -248,7 +248,9 @@ for url in initial_urls:
248248
249249parser = html5lib .HTMLParser (strict = True )
250250
251- validated_urls = {}
251+ # initialise validated_urls with some patterns we don't want to check,
252+ # because they aren't under our control, such as uploaded group agendas.
253+ validated_urls = {'/meeting/nn/agenda/foo/' : True , }
252254
253255doc_types = [ t .slug for t in DocTypeName .objects .all () ]
254256
0 commit comments