From 2eb87545274ba61f08d124a3680fe5580e8161d2 Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Wed, 22 Sep 2021 16:06:07 +0200 Subject: [PATCH] fix: urlencode id part of path --- gitlab/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitlab/mixins.py b/gitlab/mixins.py index 0c2cd949b..7da5ce983 100644 --- a/gitlab/mixins.py +++ b/gitlab/mixins.py @@ -15,6 +15,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . +import urllib.parse from types import ModuleType from typing import ( Any, @@ -391,7 +392,7 @@ def update( if id is None: path = self.path else: - path = "%s/%s" % (self.path, id) + path = "%s/%s" % (self.path, urllib.parse.quote_plus(str(id))) self._check_missing_update_attrs(new_data) files = {} 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