Não consigo clonar um repositório Git via HTTPS que tenha novas linhas em seu URL:
/tmp/x $ git clone 'https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name%0Ahas%0Anewlines/'
Cloning into 'name%0Ahas%0Anewlines'...
warning: url contains a newline in its path component: https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name%0Ahas%0Anewlines/
fatal: credential url cannot be parsed: https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name%0Ahas%0Anewlines/
fatal: remote helper 'https' aborted session
/tmp/x $ git clone $'https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name\nhas\nnewlines/'
Cloning into 'name has newlines'...
warning: url contains a newline in its path component: https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name
has
newlines/
fatal: credential url cannot be parsed: https://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name
has
newlines/
fatal: remote helper 'https' aborted session
Mas eu poderia fazer isso via SSH:
/tmp/x $ git clone $'ssh://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name\nhas\nnewlines/'
Cloning into 'name has newlines'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
Receiving objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
/tmp/x $ git clone 'ssh://forge.lindenii.runxiyu.org/lindenii/forge/:/repos/name%0Ahas%0Anewlines/'
Cloning into 'name%0Ahas%0Anewlines'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (3/3), done.
Como posso fazer com que ele seja clonado corretamente por HTTPS, onde o caminho contém novas linhas?