gathering / wannabe

Event-system for TG - wannabe.gathering.org
GNU General Public License v3.0
12 stars 7 forks source link

Crews with / in the name is broken #15

Closed KristianLyng closed 3 years ago

KristianLyng commented 4 years ago

You can create crews with / in the crew-name (e.g.: Event:Artists/VIP), it will be listed, entered in the DB and everything. But it will be a semi-broken crew, and you wont be able to change the name since the admin-page for that crew will have an extra slash.

We should probably start by disallowing / in the names to avoid this, since I suspect that there might be other subtle bugs related to it.

KristianLyng commented 4 years ago

If someone wants to tackle this, the following will do:

Find out where crews are created, when one is created, check for "illegal characters" (probably better with a list of legal characters). If the name contains illegal characters, display an error to the user.