EllisLab/CodeIgniter — Issue #554: site_url does not test for the existence of the passed uri
Author: bobosayhello
Created: 2011-10-08 17:07:50+00:00
State: open

When we pass an uri which does not match any route in the application/config/routes.php to the site_url function, CI should throw an exception.

Currently, it does not check for the existence of the passed uri, this makes URLs that it generates more prone to 404 error.