-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Post titled "Tags" cannot be edited #305
Comments
An easy fix may be to prevent using « tags » as a slug? In the slug generation function, check if « tags » is used then just add a dash or something. |
This bug is caused by this route: https://github.com/writeas/writefreely/blob/24fa3d6863ab6a3047c8bbe75203efb09ce7b894/routes.go#L207 The application assumes "edit" is the tag, and since it doesn't find any posts with
Any thoughts? |
If the route isn't officially used anyway, I'd say drop it entirely. Would there be any other repercussions to removing that route that you can think of @thebaer? |
Nope, we can drop it. |
fixes issue writefreely#305
Describe the bug
When you create a post titled "Tags" & go to edit the page, you get a 404: "This Page Is Missing. Are you sure it was ever here?".
Expected behavior
Should be able to go in and edit the post.
Version or last commit:
v0.12
The text was updated successfully, but these errors were encountered: