Title: Filter invisible Unicode after HTML entity normalization · Issue #3101 · github/github-mcp-server · GitHub
Open Graph Title: Filter invisible Unicode after HTML entity normalization · Issue #3101 · github/github-mcp-server
X Title: Filter invisible Unicode after HTML entity normalization · Issue #3101 · github/github-mcp-server
Description: Describe the bug Invisible-character filtering currently occurs before HTML sanitization can decode character entities. Encoded invisible or bidirectional characters can therefore survive filtering. The removal set also omits relevant fo...
Open Graph Description: Describe the bug Invisible-character filtering currently occurs before HTML sanitization can decode character entities. Encoded invisible or bidirectional characters can therefore survive filtering...
X Description: Describe the bug Invisible-character filtering currently occurs before HTML sanitization can decode character entities. Encoded invisible or bidirectional characters can therefore survive filtering...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3101
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Filter invisible Unicode after HTML entity normalization","articleBody":"### Describe the bug\n\nInvisible-character filtering currently occurs before HTML sanitization can decode character entities. Encoded invisible or bidirectional characters can therefore survive filtering. The removal set also omits relevant format characters and variation-selector ranges. Normalize first, then apply a carefully scoped Unicode filter with regression tests.\n\n### Affected version\n\nCurrent `main` as of 2026-08-19.\n\n### Steps to reproduce the behavior\n\n1. Sanitize text containing numeric HTML entities for invisible or bidirectional Unicode characters.\n2. Observe that HTML processing decodes the entity after the initial invisible-character pass.\n3. See the resulting invisible character remain in output.\n\n### Expected vs actual behavior\n\nExpected: invisible-character policy applies to the final normalized text and covers the intended Unicode ranges.\n\nActual: entity decoding can occur after filtering, and some relevant characters are not covered.\n\n### Logs\n\nN/A","author":{"url":"https://github.com/SamMorrowDrums","@type":"Person","name":"SamMorrowDrums"},"datePublished":"2026-08-19T12:06:24Z","url":"https://github.com/github/github-mcp-server/issues/3101"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5b8fb60-66f6-da3e-66b3-159ed70c8373 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBFE:17029F:1EFE4D:2B8168:6B06BA87 |
| html-safe-nonce | 131bf179dc4b857a365dd982f11a4a17c2e4c847dfad7ba70105d14fe86ecc3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkZFOjE3MDI5RjoxRUZFNEQ6MkI4MTY4OjZCMDZCQTg3IiwidmlzaXRvcl9pZCI6IjUyMDkzNzgxMjMwMTU0MzY5MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c9b2fde051ac6a861f6ba295bc4bdb05065b75cb8b2dc5b863d597b7f751debe |
| hovercard-subject-tag | issue:5192424419 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c37c658b3309ee53f4ed86e2415164dff2daee5f912587085b8f21237c34094/github/github-mcp-server/issues/3101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c37c658b3309ee53f4ed86e2415164dff2daee5f912587085b8f21237c34094/github/github-mcp-server/issues/3101 |
| og:image:alt | Describe the bug Invisible-character filtering currently occurs before HTML sanitization can decode character entities. Encoded invisible or bidirectional characters can therefore survive filtering... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SamMorrowDrums |
| hostname | github.com |
| expected-hostname | github.com |
| None | 32031aaff792fa7ad778f7418e1fbfc0d525a5779804329b769aa75230448a18 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 37014d914b7d14eede971655595f687a0202af40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width