Describe the issue
Adding a double dash in the handle field for a Taxonomy will cause an error when saving. -- represents a comment in SQL.
To reproduce
Use a -- in the handle and attempt to save.
Screenshots
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--_pivot CHANGE tags_id tags--_id BIGINT UNSIGNED NOT NULL' at line 1 (SQL: ALTER TABLE taxonomy_tags--_pivot CHANGE tags_id tags--_id BIGINT UNSIGNED NOT NULL)
Version and browser
Version: Latest
Bug report checklist
Describe the issue
Adding a double dash in the
handlefield for a Taxonomy will cause an error when saving.--represents a comment in SQL.To reproduce
Use a
--in the handle and attempt to save.Screenshots
Version and browser
Version: Latest
Bug report checklist