-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Bug] RSS URI Access Encoding Issues #22301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I looked a bit into this. This line is weird: gitea/services/context/user.go Line 40 in 3fef47b
If the user has a dot in their name, it returns |
Got this problem while adding a new package type. I found the issue but I'm not sure what could be a solution. I have created an issue: go-chi/chi#781 |
Definitely seems a 'same' situation. In your case, greedy seems best, assuming there is always a |
… ... (#23874) - close #22301 workaround for go-chi/chi#781
Description
Attempting to access the RSS feed of a user that has a period in their name results in a 404. Encoding the URI with %2e works. The problem exists on try.gitea.io and my own self-hosted Gitea, as well as other publicly-facing Gitea instances.
Gitea Version
1.17.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
N/A
Screenshots
No response
Git Version
N/A
Operating System
Linux, try.gitea.io
How are you running Gitea?
Various means, sometimes stand-alone, sometimes other sites.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: