EcomDev / EcomDev_UrlRewrite

Alternative implementation of Url Rewrite Index by EcomDev
72 stars 33 forks source link

adjust regex in duplicate check #22

Open ProxiBlue opened 8 years ago

ProxiBlue commented 8 years ago

The regex used to find duplicate url_keys are giving false positives if the given url_key ends in -[number]

for example:

19th-century-filipino-basket-with-lid-acc-7311-5219 would result in 19th-century-filipino-basket-with-lid-acc-7311-5219-1.html as the request url.

infabo commented 7 years ago

LGTM. +1