docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 879 forks source link

curl docker search return image name with %252F instead of slash #1104

Open mkgong opened 7 years ago

mkgong commented 7 years ago

Push a docker image to docker registry in s3 bucket. If the docker image name contain a slash, when using v1 search, it will return the image name with %252F instead of slash.

"image": "registry:0.9.1"

docker push docker-registry.registry.eecloud.net/paas/keycloak/server:140

curl https://docker.registry.eecloud.net/v1/search?q=paas | python -m json.tool

"description": null, "name": "paas/keycloak%252Fserver"

Describe the results you expected:

curl https://docker.registry.eecloud.net/v1/search?q=paas | python -m json.tool

"description": null, "name": "paas/keycloak/server"