-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
Right now, when the plugin sets up the persistent storage location for TUF metadata in the context of a particular repository, it uses this line of code to name the directory:
preg_replace('/[^[:alnum:]\.]/', '-', $repoUrl)This can be problematic because URLs like site.coop.info/packages and site.coop/info/packages will collide. This is probably something of an edge case, but it's enough of a concern that it should block a 1.0.0 release of this plugin. We need to find a better way to name these directories.
One option is to use a SHA-256 hash of the URL, but that could be quite obscure. Other thoughts welcome...
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested