Skip to content

Encode topic name in GeneratePageTitle in ForumPageExtensions#1597

Merged
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/encode-topic-title
Mar 7, 2026
Merged

Encode topic name in GeneratePageTitle in ForumPageExtensions#1597
w8tcha merged 1 commit into
YAFNET:masterfrom
mt0321:fix/encode-topic-title

Conversation

@mt0321

@mt0321 mt0321 commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Match the encoding used in Post.cshtml.cs where TopicName is passed through HtmlEncode before display. Also match the other branches in GeneratePageTitle() itself.

Match the encoding used in Post.cshtml.cs where TopicName is passed
through HtmlEncode before display.
@w8tcha w8tcha merged commit 20f9284 into YAFNET:master Mar 7, 2026
@w8tcha w8tcha added this to the 4.0.3 milestone Mar 16, 2026
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