Skosmos
Skosmos copied to clipboard
Error message leaks requested SPARQL endpoint host
What steps will reproduce the problem?
- A long-lasting REST query, e.g., to http://localhost/skosmos/rest/v1/search?query=a*&unique=1
What is the expected output? What do you see instead?
ERROR: Request to host:portNumber
timed out
An end user should not see this kind of, possibly sensitive data, set in config.ttl
.
Remarks
Noticed whilst developing PHP client for Skosmos REST API.
Thanks! Maybe even an option for customizing such messages wouldn't be a bad idea. For the PHP-client, also check this python-client - https://github.com/NatLibFi/Skosmos-client