We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227607c commit 2eb8754Copy full SHA for 2eb8754
gitlab/mixins.py
@@ -15,6 +15,7 @@
15
# You should have received a copy of the GNU Lesser General Public License
16
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
+import urllib.parse
19
from types import ModuleType
20
from typing import (
21
Any,
@@ -391,7 +392,7 @@ def update(
391
392
if id is None:
393
path = self.path
394
else:
- path = "%s/%s" % (self.path, id)
395
+ path = "%s/%s" % (self.path, urllib.parse.quote_plus(str(id)))
396
397
self._check_missing_update_attrs(new_data)
398
files = {}
0 commit comments