on prepareBaseUrl, the comaprison between SCRIPT_FILENAME and SCRIPT_NAME should be case-insensitive.

If the comaprison between SCRIPT_FILENAME and SCRIPT_NAME isn't case-insensitive
then accessing /App.php/myroute won't work, and we will always have to verify accessing
/app.php/myroute (with app at lower case, which may cause many problems).