Skip to content

fix(admin): escape template-literal backslashes & newlines in /admin inline script - #48

Merged
bartrumb merged 1 commit into
mainfrom
fix/v2.6.0-admin-script-escape
Nov 21, 2026
Merged

bartrumb merged 1 commit into
mainfrom
fix/v2.6.0-admin-script-escape

Conversation

@bartrumb

Copy link
Copy Markdown
Owner

Fixes an inline JS SyntaxError in renderDashboardHtml (admin.ts:670-696) where single-escaped \ and \n inside the TypeScript template literal emitted unescaped quotes/newlines in <script>, preventing loadState() from populating Connected Remote Fleet cards on /admin. Adds a V8 new Function(inlineJs) syntax assertion to QA-V260-ROUND4.

…inline script

Signed-off-by: Brett Bartrum <17114576+bartrumb@users.noreply.github.com>
@bartrumb
bartrumb merged commit d7b2d55 into main Nov 21, 2026
4 checks passed
@bartrumb
bartrumb deleted the fix/v2.6.0-admin-script-escape branch November 21, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant