Special character '/' allowed in article title causes 404 #1111
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#1111
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have this article on my instance that return a 404. The article is listed on the main page, on the page for the blog it's published under with proper title, summary and other infos. The author of the article can't edit it or "do anything with it".
I also checked using a Mastodon account, the post for the article does appear on the profile of the author with the link.
Link to the article in question: existing article returning 404
The article is written in French.
For the technical aspect of it:
I've checked the data base, the article is listed there, it has sources.
My Plume instance was deployed using Ansible (the Python tool) and use a custom Systemd unit file to run. I've looked at the journal for that unit, not much to say regarding the logs. Here is an excerpt of it:
So if I get things right, Rocket is finding the route to the article. Or am I missing something?
Any idea what could have went wrong? Do you think there might be a solution I could apply to fix the situation?
Also, some new posts have been made succesfully on the instance by a different user
Ok, so I found the issue.
The original article title is:
"Un séjour hospitalier bipolaire 2 avec TDI/ATDS*"
You'll notice there's a '/' in there. That slash is of course then coded in the URL to a "%2F". But then, the routing can't happen properly. I don't know why, I don't understand the inner of the software well enough.
I am changing the title of the issue to be reflexive of the true issue.
Existing, listed article returns 404 on linkto Special character '/' allowed in article title causes 404I recognize this issue and hope upgrading Rocket to v 0.5 solve this...