Repository navigation
fix: escape labels during JSON import and render tag dropdown as text - #9504
Merged
Alkarex merged 1 commit intoOct 25, 2026
Merged
Conversation
Pythame
force-pushed
the
fix/json-import-label-html-injection
branch
from
October 25, 2026 03:11
4da46dd to
ef9905c
Compare
Alkarex
approved these changes
Oct 25, 2026
Member
|
Thanks! |
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.
Changes proposed in this pull request:
How to test the feature manually:
&, quotes, spaces and non-ASCII characters; verify the labels appear correctly in the tag dropdown and on the tag management page.Compatibility note:
This change applies to new JSON imports and the dynamic tag dropdown. It does not migrate
_tag.namerows created by older imports. On an installation with such rows, re-importing the same visible label can create a second tag because the existing stored name and the newly escaped name do not match (for example,R&DvsR&D). This is a pre-existing data compatibility issue that this change also touches; no migration is included in this PR.