django-menu-generator icon indicating copy to clipboard operation
django-menu-generator copied to clipboard

related_urls match too much

Open Natureshadow opened this issue 5 years ago • 0 comments

The new related_urls feature matches too much, i.e. in the middle of a string.

Giving /car as related URL will not only match /car/1, but also /drinks/categories/carbonated. Using a trailing / would help a bit, but that would mean that /person is not matched under all circumstances.

Natureshadow avatar Nov 16 '20 20:11 Natureshadow