Habit with whitespace gets added to DB but is not accessible from UI
Opened this issue · 1 comments
bashbunni commented
When a user adds a habit with whitespace surrounding so like " habit" or "habit " it will allow the user to use a habit name that already exists and will not be accessible from the UI because the name in the URL will not match the name in the habit list. This means the user can't delete the habit or do anything with it, but it shows in the list of habits
taigrr commented
Sounds like you should use URL/Percent Encoding.