mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fix another place with special symbols in the URL
This commit is contained in:
parent
fddfc7e9c4
commit
3d03c16fc8
@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from collections import namedtuple
|
||||
import fnmatch
|
||||
import json
|
||||
import time
|
||||
from collections import namedtuple
|
||||
from urllib.parse import quote
|
||||
|
||||
import requests # type: ignore
|
||||
|
||||
from lambda_shared.pr import TRUSTED_CONTRIBUTORS
|
||||
from lambda_shared.token import get_cached_access_token
|
||||
|
||||
@ -129,7 +129,7 @@ def _exec_post_with_retry(url, token, data=None):
|
||||
|
||||
|
||||
def _get_pull_requests_from(repo_url, owner, branch, token):
|
||||
url = f"{repo_url}/pulls?head={owner}:{branch}"
|
||||
url = f"{repo_url}/pulls?head={quote(owner)}:{quote(branch)}"
|
||||
return _exec_get_with_retry(url, token)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user