Skip to content

Encode the issue title like the body - #821

Merged
SimonCropp merged 1 commit into
mainfrom
fix-issue-url-encoding
Aug 22, 2026
Merged

Encode the issue title like the body#821
SimonCropp merged 1 commit into
mainfrom
fix-issue-url-encoding

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

The URL the tray opens after an error put the raw message in title= while encoding
body=. The message carries a file path, so a '#' in one - a directory named C# will
do it - started a fragment: the body went, and the title ended at the hash. An '&'
started a parameter GitHub does not have, truncating the title there.

Both halves are built in one place now, and the title goes through UrlEncode. The
body still arrives already encoded from its callers, which is why it is appended
rather than encoded again.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant