-
-
Notifications
You must be signed in to change notification settings - Fork 360
Open
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed
Description
Current behavior 😯
This code generates the following output:
fn main() {
let url = gix_url::parse("_git@source.example.tld:org/repo.git".as_ref()).unwrap();
dbg!(&url);
println!("{}", url.to_bstring());
}
[src/main.rs:3:5] &url = Url {
scheme: Ssh,
user: Some(
"_git",
),
password: None,
host: Some(
"source.example.tld",
),
serialize_alternative_form: true,
port: None,
path: "org/repo.git",
}
%5Fgit@source.example.tld:org/repo.git
Expected behavior 🤔
I'm not pretty sure, but Git appears not to decode %5Fgit
back to _git
.
This problem was originally reported as jj-vcs/jj#6810.
Git behavior
No response
Steps to reproduce 🕹
No response
Metadata
Metadata
Assignees
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed