Skip to content

Do not escape HTML for display names#1070

Merged
dimdenGD merged 1 commit into
dimdenGD:masterfrom
Ristellise:fixes
Jul 25, 2025
Merged

Do not escape HTML for display names#1070
dimdenGD merged 1 commit into
dimdenGD:masterfrom
Ristellise:fixes

Conversation

@Ristellise

@Ristellise Ristellise commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

Fixes display names with quotes in the title. This should be safe as string values in tdeb.js uses createTextNode() which is safe from XSS.

There's no need to change screen_name. Since screen names is normalized on X/Twitter's end in the first place.

@Ristellise Ristellise changed the title Do not escape HTML for usernames Do not escape HTML for display names Jul 25, 2025
@dimdenGD dimdenGD merged commit 5e3df3f into dimdenGD:master Jul 25, 2025
2 checks passed
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.

2 participants