Project

Profile

Help

Issue #2920

closed

Crane does not redirect correctly to schema 1 path

Added by ipanova@redhat.com almost 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Crane:
Platform Release:
2.14.0
Target Release - Crane:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 22
Quarter:

Description

$ curl -L -H "Accept: application/vnd.docker.distribution.manifest.v2+json," -k -X GET 'http://localhost:1234/v2/test/manifests/lala'
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /pulp/docker/v2/test/manifests/lala was not found on this server.</p>>

If it is a repo as of V3+ version the redirect should happen to pulp/docker/v2/test/manifests/1/lala
If it is a repo of V2 version the redirect should happen to pulp/docker/v2/test/manifests/lala

Also available in: Atom PDF