From f69aa77b91144c8adc6cb56a4754ca2be7cd141e Mon Sep 17 00:00:00 2001 From: Denis Ah-Kang Date: Fri, 14 Jun 2024 14:00:06 +0400 Subject: [PATCH] allow trailing slash to IPR link --- lib/rules/sotd/pp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/sotd/pp.js b/lib/rules/sotd/pp.js index 0bc599af8..9009739ce 100644 --- a/lib/rules/sotd/pp.js +++ b/lib/rules/sotd/pp.js @@ -189,7 +189,7 @@ export async function check(sr, done) { return; } if ( - /^https:\/\/www\.w3\.org\/(groups\/[^/]+\/[^/]+\/ipr|2004\/01\/pp-impl\/\d+\/status)(#.*)?$/.test( + /^https:\/\/www\.w3\.org\/(groups\/[^/]+\/[^/]+\/ipr\/?|2004\/01\/pp-impl\/\d+\/status)(#.*)?$/.test( href ) && /public list of any patent disclosures( \(.+\))?/.test(text) &&