Skip to content

support slash repository #147

Open
Open
@zhangguanzhang

Description

@zhangguanzhang

Describe the bug

https://github.com/goharbor/harbor/blob/f910c5654baf64a090f5b423ee6990d9f9adbc61/api/v2.0/swagger.yaml#L6242

To Reproduce
Steps to reproduce the behavior.

docker pull alpine
docker tag alpine  harbor.mydomain.com/project/a/b:latest
docker push harbor.mydomain.com/project/a/b:latest
List tags for 'project/a/b' error: [GET /projects/{project_name}/repositories/{repository_name}/artifacts][404] listArtifactsNotFound  &{Errors:[0xc0003be7c0]}

while delete the tag, will requested the a/b not a%252Fb , ref https://github.com/goharbor/harbor/blob/f910c5654baf64a090f5b423ee6990d9f9adbc61/api/v2.0/swagger.yaml#L6242

Expected behavior
A clear and concise description of what you expected to happen.

Log files (optional)
If applicable, add log files to help explain your problem.

Environment:

  • goharbor-client version
  • goharbor version
  • OS
  • Other
# IMPORANT: Please make sure to anonymize any PII like IP addresses and usernames!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions