-
Notifications
You must be signed in to change notification settings - Fork 5
Description
When a binary file (e.g. a Google sheet formatted as Excel) is submitted into OntoPortal via URL (as a 'skos' file) the portal apparently tries very hard to process it. The processing/parsing goes on indefinitely, and bad things happen meanwhile in the displays. There is a page for the ontology created, and you can go to it and see the metadata, but if I recall correctly the tabs (Concepts, etc) do not appear at the top.
The Ontologies page entry looks kind of ugly, not surprisingly.
Meanwhile, on the Admin page, you can't even tell it's been submitted. It isn't enough of a proper ontology to where it has an entry. So you can't abort the processing or delete the entry.
It takes maybe 30-90 minutes for the ontology to show up on the admin page, and then it can be deleted. But if it isn't deleted, you can click on the SKOS link in Submissions list. And amazingly, an Excel spreadsheet comes out!
This is a security issue because of the strange things that might be put into the binary file and the side effects that could happen. Probably should detect and reject files that aren't text files, maybe by lack of line feeds/carriage returns?