1 amoun Feb 02, 2019 18:59
3 amoun Feb 03, 2019 10:34
OK!
Is there info in the docs that state a category cannot be all digits and would it be a good idea to have the field checked as it is used so a warning would arise if all digits are used?
EDIT
Have removed categories as described in post #1 so images are not relevant.
4 fplanque Feb 03, 2019 14:22
Will be done.
(Started this: https://b2evolution.net/man/category-edit-form)
5 amoun Feb 03, 2019 15:22
Thanks again.
Starting with a digit is fine but all digits is not
So 1a2b is ok but 1234 is not.
Have commented on the doc
Attached image on following post
Category Edit Form
The category slug must start with a letter. It cannot be all numbers. This is so b2evolution’s URL decoder can easily differentiate between categories and dates, when a url ends in something like .../2134/.
Created by fplanque • Last edit by fplanque on Feb 03, 2019
6 amoun Feb 03, 2019 15:26
7 fplanque Feb 03, 2019 16:58
yes but the spec is that all slugs must start with a letter.
8 amoun Feb 03, 2019 19:42
OK :)
what is The spec?
Categories cannot be all digits because in that case b2evo sees it as a date. This is the corollary of having b2evo decode almost any URL even if you changed your folder/category nesting.
We'll fix the bug that should show a clean 404 instead.