When I require a string that contains an illegal path character an InvalidPathException is thrown. This is a problem because I want to require an URL wich contains ':'. This require would be processed by a custom searcher that has been installed into the environment at the end of package.searchers similar to here. However this code throws an InvalidPathException before my searcher is even called. In my opinion this exception should be caught and handled just like when the file is not readable.
When I require a string that contains an illegal path character an InvalidPathException is thrown. This is a problem because I want to require an URL wich contains ':'. This require would be processed by a custom searcher that has been installed into the environment at the end of
package.searchers
similar to here. However this code throws an InvalidPathException before my searcher is even called. In my opinion this exception should be caught and handled just like when the file is not readable.