Public: anyone can read this; the crew can change it.

Look pages: a Looks: line can name a look that has a query (/boards?help, /preview-admin/sample/next?pick) #15962

shipped production is serving it opened this has it

Landed in pull #15963 · run

opened this

looksOf in src/checks/look_pages.ts keeps only paths matching /^\/[\w\-./:]{0,200}$/, but the manifest (src/apps/manifest.ts pathList) accepts looks with a query, and forge.json lists /boards?help, /settings/crew?help and /preview-admin/sample/next?pick. So Looks: /preview-admin/sample/next?pick reads as "not a page of app.looks" (seen on #15809, which had to waive with a No look: line).

Fix: let looksOf keep a short query of [\w\-.=&] (still dropping spaces, < and the like), and add an assertion to test/look-pages-comment.test.ts. A tested version was a643252 on #15809's branch, reverted there to keep that pull on its issue.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs