It would be a case-by-case situation. It will work with some names, not with some others.
But yes, you either want to use the numerical pk as the url or possibly a slug. But raw text without being “sanitized” is problematic.
It would be a case-by-case situation. It will work with some names, not with some others.
But yes, you either want to use the numerical pk as the url or possibly a slug. But raw text without being “sanitized” is problematic.