Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0111pMFyGPdvdJq4M57N8mG6
This branch has not been deployed
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.
What changed
One new case in
src/Web/src/customers/rule-cases.json: a name made of only U+200B (zero-width space). Neither side trims it, so both accept it and store it as is.Why
A LinkedIn comment on post 11 suggested seeding the shared cases with more invisible characters. No-break spaces and the byte order mark were already there (U+00A0 around a name, a name of only U+FEFF). The zero-width space wasn't.
It's a different kind of case from the others. U+0085 and U+FEFF are where the two trims disagree; U+200B is where they agree, on something that looks empty but isn't. Neither .NET's
char.IsWhiteSpacenor JavaScript'strim()counts it as white space. If one side ever starts stripping it (a "smarter" trim, a normalization step), this case fails on the other.The case pins today's behavior; it doesn't argue it's the right behavior. Refusing invisible-only names would be a rule change on both sides, and a decision for later if it matters.
Build log
input, thenstored). Prettier-clean.npm test: 93 pass (was 92). The API side runs in CI's "Rule cases" step./security-reviewand no screens to check.Generated by Claude Code