Tests: the www source's pattern escapes its slashes
Catalog / validate (push) Successful in 18s
Catalog / stars (push) Successful in 19s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-04 21:09:51 -04:00
1 parent a6f9863d0d
commit 0f8f5b9cc3
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ const bad = [
["an encoded host", { app: { ...good, website: "https://good.example&commat;evil.com/" } }, /plain host/],
["a GitHub source with a trailing slash", { app: { ...good, source: "https://github.com/ada/tally/" } }, /github.com\/owner\/repo/],
["a GitHub source with a query", { app: { ...good, source: "https://github.com/ada/tally?tab=readme-ov-file" } }, /github.com\/owner\/repo/],
["a GitHub source on www", { app: { ...good, source: "https://www.github.com/ada/tally" } }, /github.com/owner/repo/],
["a GitHub source on www", { app: { ...good, source: "https://www.github.com/ada/tally" } }, /github.com\/owner\/repo/],
["a host with credentials", { app: { ...good, website: "https://good.example@evil.com/" } }, /plain host/],
["a long description", { app: { ...good, description: "a".repeat(281) } }, /281 weighted characters/],
["stars without their time", { app: { ...good, stars: 3 } }, /go together/],