fix(location): throw a MinErr when base path has the wrong case #4082

If the user inputs a url where the base path has the wrong case, an MinErr is now thrown instead of a stack trace.

From the issue:
This issue is common when serving files from a case-insensitive filesystem, where the files may serve from /Base/ and /base/ but the href is set as /base/. This behavior is preferable because it encourages developers to follow the best practice of treating their files and URLs as case-sensitive.

Fixes #4082 #ng-europe
iit