Geta / geta-notfoundhandler

The popular NotFound handler for ASP.NET Core and Optimizely, enabling better control over your 404 page in addition to allowing redirects for old URLs that no longer works.
Apache License 2.0
20 stars 16 forks source link

Fix bug when new url is missing trailing slash #138

Open AndersHGP opened 1 month ago

AndersHGP commented 1 month ago

Steps to reproduce: from -> /content to -> /legacy

urlToFind = "/content/file/"; expected = "/legacy/file/";

Expected: /legacy/file/ Actual: /legacyfile/

Solves: https://github.com/Geta/geta-notfoundhandler/issues/137