diff --git a/src/registryctl/handlers/router.go b/src/registryctl/handlers/router.go index 8c5b34427..274d80d8f 100644 --- a/src/registryctl/handlers/router.go +++ b/src/registryctl/handlers/router.go @@ -33,6 +33,6 @@ func newRouter(conf config.Configuration) http.Handler { rootRouter.Path("/api/registry/gc").Methods(http.MethodPost).Handler(gc.NewHandler(conf.RegistryConfig)) rootRouter.Path("/api/registry/blob/{reference}").Methods(http.MethodDelete).Handler(blob.NewHandler(conf.StorageDriver)) - rootRouter.Path("/api/registry/{name}/manifests/{reference}").Methods(http.MethodDelete).Handler(manifest.NewHandler(conf.StorageDriver)) + rootRouter.Path("/api/registry/{name:.*}/manifests/{reference}").Methods(http.MethodDelete).Handler(manifest.NewHandler(conf.StorageDriver)) return rootRouter }