Closed shinobu closed 7 years ago
done in https://github.com/AKSW/Erfurt/pull/129 --- is the error message ok?
now uses error codes to check if the exception gets catched or not
Do URNs (urn:…) and https:// URI still work?
are urn:'s really valid RDF/Modelnames?
*edit this change will make them viable choices as well
What about ftp://… and tel:… I think there are more valid kinds of URIs resp. IRIs and afaik all of them are allowed for models.
https://tools.ietf.org/html/rfc3986 https://tools.ietf.org/html/rfc3987
https://en.wikipedia.org/wiki/Uniform_Resource_Identifier https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
We are now using the PHP filter FILTER_VALIDATE_URL
, We might need to add a test (the ModelController has no tests at all right now) to check if the filter works for all PHP versions though.
Could you add the test?
Done @white-gecko This should be mergeable now
This fix checks the URI for knowledge base creation for http://
This Pull Request does fix #399