Unable to fetch/push from 'origin' - malformed URL
When I try to push (or pull) from a remote repository, I get the following error message:
... malformed URL 'ssh://myname@myserver:56789/home/myname/bücher/2022.gi'
So, the last letter within the URL, 't' is missing (at least in the error message). As I could not find any similar open issue, it seems, that the problem lies on my side. Is it possible, that the use of umlaut 'ü' causes the problem?
Hi @opa56 can you provide us the output of 'git remote -v'
And also the entry in Gittyup: "Remote" menu
Can you try to replace ü by ue if it chenges anything?
$ git remote -v
origin ssh://myname@myserver:56789/home/myname/bücher/2022.git (fetch) origin ssh://myname@myserver:56789/home/myname/bücher/2022.git (push)
The entry in the Gittyup "Remote" menu lokks the same. Pushing and pulling work fine (despite the umlaut) from the command shell and (formerly) with SmartGit.
Now I discovered, that - if the path contains two umlaut characters, a second character is omitted at the end. Example: ... malformed URL 'ssh://myname@myserver:56789/home/myname/bücher/bücher.g'
After this discovery I guess, that some string function only sees one character (with one byte length), while the 'ü' is probably coded in two bytes.
My tests with a repository not containing any umlaut work fine. Does this help you?
thanks for the informations. I will try it out, maybe I can reproduce it
i can confirm if the URL/domain is international domain name the URL gets the malformed error confirmed for spanish ñ è romanian ă ţ french ç
I can confirm that a problem also occurs if the URL contains a space character or %20