sparna-git / shacl-play

SHACL validation UI, SHACL documentation generator, SHACL generator from RDF.
http://shacl-play.sparna.fr
GNU Lesser General Public License v3.0
24 stars 15 forks source link

Providing a URL to a zip file does not work #108

Closed tfrancart closed 4 months ago

tfrancart commented 6 months ago

We should be able to provide a URL like https://github.com/sparna-git/shacl-play/files/12793453/solidar-shapes.zip, which is a zip file. The upload of a zip file works correctly, see what happens with a URL.

tfrancart commented 4 months ago

Ajouter le même test que pour l'upload de fichier, dans ControllerModelFactory:

                    if(f.getOriginalFilename().endsWith("zip")) {
                        log.debug("Detected a zip extension");

                    } else {
                        // ...
                    }