Skip to content

Suggestion: url encode project paths automatically #1498

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy