Skip to content

Suggestion: url encode project paths automatically #1498

Closed
@chris-peterson

Description

@chris-peterson

Description of the problem, including code/CLI snippet

Would be nice to not have to url-encode project paths when calling project APIs. Feels pretty safe to replace / with %2F and not break folks

Expected Behavior

Allow project paths to contain / without any escaping/encoding

Actual Behavior

Results in 404s, project not found. have to url encode and try again.

Specifications

  • python-gitlab version: 2.7.1
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 13.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions