curl-to-csharp icon indicating copy to clipboard operation
curl-to-csharp copied to clipboard

Support for --path-as-is

Open ramimod opened this issue 6 years ago • 1 comments

--path-as-is is not supported because the framework does automatic URL squashing, what's the solution ?

ramimod avatar Oct 25 '19 02:10 ramimod

Sorry for the super late response.

Yeah, I don't know any workaround to implement this feature using HttpClient (which is used in the conversion). HttpClient heavily uses Uri class, which doesn't have an option to disable URL normalization.

The code below will produce https://google.com/search

new Uri("https://google.com/../search")

olsh avatar Feb 10 '20 08:02 olsh