bio-tools / biotoolsRegistry

biotoolsregistry : discovery portal for bioinformatics
GNU General Public License v3.0
68 stars 20 forks source link

Clash between tool ID and directory name #426

Open jaanisoe opened 5 years ago

jaanisoe commented 5 years ago

There is a tool with ID "img" in bio.tools ("Integrated Microbial Genomes (IMG)"). But trying to access this tool through its URL https://bio.tools/img will redirect us to a directory of images https://bio.tools/img/ (as both the tool ID and directory name are "img").

The tool page can still be accessed through searching for "img" (https://bio.tools/t?page=1&q=img&sort=score) and clicking on "Integrated Microbial Genomes (IMG)" in the search results.

The solution could be disallowing tool IDs that match a list of current (and planned) directory names or not redirecting https://bio.tools/img to https://bio.tools/img/ or something else.

joncison commented 5 years ago

@hansioan and I were discussing that we need a few reserved IDs to avoid exactly this problem. Thanks for letting us know. Will fix ASAP.