Extendy / SmartyURL

SmartyURL is a PHP-based web application for Smart URL management, Sharing, shortening, and analytics, featuring smart redirects.
https://docs.smartyurl.extendy.net/
MIT License
12 stars 2 forks source link

URL identifiers should not exist on CodeIgniter valid routes #51

Closed ghost closed 11 months ago

ghost commented 11 months ago

When creating a new URL identifier, the identifier should not already exist as a valid CodeIgniter route. This is because if a URL identifier exists as a valid route, then it will conflict with the route, and the route will not be able to be accessed.

Steps to reproduce:

  1. Create a new CodeIgniter route.
  2. Try to create a new URL with identifier with the same value as the route.

Expected behavior:

An error message should be displayed indicating that the URL identifier already exists as a valid route or smoething like that.

Additional information:

This issue is important because it could lead to problems if users try to create URL identifiers that already exist as valid routes.