blackmann/mangobase

Using non url safe names as collection names breaks routing

Closed this issue · 1 comments

How to Reproduce

  1. Create a collection with a name that's not URL safe (eg. Report Cards)
  2. Receive a 404 error and a url encoded collection path

Expectation

  1. Collection form should either validate for appropriate collection names
  2. Use the collection name provided as a display name and generate a slug

Hi @cyrilselasi

To remove the bad collection (or rename), you'll find it in the project's .mangobase folder in a file: collections.json.

You'll have to restart the app