Fix review feedback: tests, auth token normalization, font CSP, i18n corrections#1083
Merged
pethers merged 2 commits intonews/deep-inspection-2026-03-12-betald-polisutbildning-1686e6c8ca78187bfrom Mar 12, 2026
Conversation
…var, fix font CSP, singular form, SWOT text Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update deep-inspection article on paid police education proposal
Fix review feedback: tests, auth token normalization, font CSP, i18n corrections
Mar 12, 2026
c2aa8cd
into
news/deep-inspection-2026-03-12-betald-polisutbildning-1686e6c8ca78187b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses second-round review comments on PR #1080 and fixes 5 failing Vitest tests caused by the Bearer-prefix removal in the MCP auth token logic.
Auth token normalization
getDefaultAuthToken()now strips****** prefix fromMCP_AUTH_TOKEN` env var, consistent with how config-file sources are handledHTML fixes (EN + SV deep-inspection articles)
media="print" onload="this.media='all'"with plainrel="stylesheet"— inlineonloadhandlers are blocked by the page's hash-based CSPpresstraff om forslag...→Pressträff om förslag om betald polisutbildningin both language variants💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.