invalid slug naming cause unknow error #2138
mcimam
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
Hey @mcimam — this is actually intended behavior. We should indeed throw an error on startup on if the slug is not URL-friendly, but that will be a future enhancement. For now, I will convert this to a discussion and tag it as a feature request. We will get to this for sure. Thanks for bringing this up! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
If slug contain space in it The API will produce 404 error. In Admin panel it will only produce 'unknow error occured'. This is really confusing plus in documentation it just said that slug must have 'URL-friendly string '.
Steps to Reproduce
Other Details
payload : 1.6.11
I think, adding validation to check naming will help. Adding trim function or replace space with - will also helped.
Beta Was this translation helpful? Give feedback.
All reactions