Skip to content

Commit eadf421

Browse files
committed
Added a new url folding operation for the html verification.
- Legacy-Id: 9557
1 parent acc2c59 commit eadf421

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/test-crawl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def check_html_valid(url, response):
102102
key = re.sub("\?.*$", "", key)
103103
key = re.sub("/rfc[0-9]+/", "/rfcnnnn/", key)
104104
key = re.sub("/wg/[a-z0-9-]+/", "/wg/foo/", key)
105+
key = re.sub("/rg/[a-z0-9-]+/", "/rg/foo/", key)
105106
for slug in doc_types:
106107
key = re.sub("/%s-.*/"%slug, "/%s-nnnn/"%slug, key)
107108
if not key in validated_urls:

0 commit comments

Comments
 (0)