403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/devel/git-lab/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/devel/git-lab/files/patch-git-23fd64b
diff --git lab/repositoryconnection.py lab/repositoryconnection.py
index c7170de..23fd64b 100644
--- lab/repositoryconnection.py
+++ lab/repositoryconnection.py
@@ -71,7 +71,7 @@ class RepositoryConnection:
 
         try:
             self._remote_project = self._connection.projects.get(
-                Utils.str_id_for_url(Utils.normalize_url(repository))
+                Utils.str_id_for_url(repository)
             )
         except (GitlabHttpError, GitlabGetError):
             Utils.log(LogType.Error, "The repository could not be found on the GitLab instance.")
diff --git lab/utils.py lab/utils.py
index c0490ac..3c4c707 100644
--- lab/utils.py
+++ lab/utils.py
@@ -60,7 +60,7 @@ class Utils:
         """
         normalized_url: str = Utils.normalize_url(url)
         repository_url: ParseResult = urlparse(normalized_url.replace(".git", ""))
-        return quote_plus(repository_url.path[1:])
+        return quote_plus(repository_url.path[1:], safe='/')
 
     @staticmethod
     def log(log_type: LogType, *message: str) -> None:

Youez - 2016 - github.com/yon3zu
LinuXploit