Skip to content

Commit f02b8a1

Browse files
committed
Harden bundle catalog table rendering
Require single-line escaped Markdown table values for untrusted submission metadata. The needs-info label used by validation is now present in the repository. Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fbe794bc-667a-4c9e-b48b-825067debc6d
1 parent 3eeb061 commit f02b8a1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/add-community-bundle.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/add-community-bundle.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ by bundle name:
241241
| <Name> | <Description> | `<role>` | <component counts> | <None or documented> | [<repo-name>](<repository>) |
242242
```
243243

244+
Before rendering the row, convert every user-derived display value to
245+
single-line plain text: collapse CR/LF sequences to spaces, remove control
246+
characters, and backslash-escape `\`, `|`, backticks, `*`, `_`, `[`, `]`, `<`,
247+
and `>`. Use the validated HTTPS GitHub repository URL unchanged only as the
248+
Markdown link destination.
249+
244250
Render component counts compactly, omitting zero-valued component types. Use
245251
`None` when no companion catalogs are needed and `Documented` otherwise; the
246252
repository README remains the source for the actual URLs.

0 commit comments

Comments
 (0)