Open eprochasson opened 11 years ago
Ha, I just commited a small security fix, to strip [ and ] from the URL (to avoid MODx code injection, since the replacement URL is parsed).
working on merging some PRs into the new repo over at modxcms/Redirector. Am going to need to come back to this one
Working on this.. PR on modxcms soon!
[update] Really rocks! Example:
Pattern: ^shop\/category-(.*)\/$ Target: webshop/$1/ Test: shop/category-shoes/ Results: webshop/shoes/
Hello,
I added a few feature I was looking for.
Since it adds a few new columns to the modRedirect table, so it might not works perfectly as an update to previous versions. I'm sure there is a way to handle that properly though. I was also unable to update the Schema for sqlsrv. Finally, as I don't speak so many languages, I only updated the English and French lexicons.
I took the liberty to add my name to the list of contributors :) and pop the version number since I believe this is quite a major change. I also understand that, as it's quite a major change, it might not really respect the original idea behind Redirector. If it's uncool, I'll just fork it but I'd be much happier to integrate that directly in Redirector.