arXiv / arXiv/html_feedback

Github report link does not work when description includes % character

Open Beginner friendly
#6,628 1 comment 0 reactions 0 assignees View on GitHub
bug UI
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

## Reproduction

1. Open a paper in the HTML viewer
2. Select some text
3. Click "Report issue for selection"
4. In the popup modal:
1. Add something to the title field
2. Add the following to the description field: `%`
3. Click "Submit in Github"
5. You get a 400 error. Screenshot in Chrome:
Image

## Root cause

The `%` character is not URL-encoded. It should be URL-encoded to `%25`. The breaks URL decoding on the Github side.

Contributor guide

Open the contributing guide

Research direction

The affected entry point is the HTML viewer’s “Report issue for selection” flow; trace how the title and description are assembled for the “Submit in Github” link. Reproduce with `%`, then verify the generated GitHub URL encodes it as `%25` and submission no longer returns 400.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.