Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
I have a problem with my urls on my site, a little bug that is quite disturbing.
My urls are of this form: localhost:8000/organization/my-organization-test/37
Which works very well.
The bug I have is that I can replace "my-organization-test" with anything, as long as the ID exists, the page will still appear.
When I do localhost:8000/organization/my-xxxx-test/37, the organization with ID 37 will appear.