Open doggy8088 opened 1 year ago
From my testing, it seems the inherent C# functions used for the URL Encoder have no option for it to return anything other than a %0D. It would require a custom function to either do the whole encoding or to scan for %0D and add %0A after or replace it.
Could be related to this issue https://github.com/microsoft/microsoft-ui-xaml/issues/1826
I think @ebejko is right. It's related to textbox control. Any text put it on that control. All the newline can only be interpret as \r
only. It's so weird.
No matter what this issue should be addressed and it's fundamental. This should have some way to solve it.
Description
Steps To Reproduce
Go to 'Encoders / Decoders > URL'
Choose 'Encode'
Input:
Output will be
123%0D123
which is wrong. It should be123%0D%0A123
or123%0A123
Expected behavior
It should be
123%0D%0A123
or123%0A123
.DevToys Version
Version 1.0.10.0 | X64 | RELEASE | b949a18 | b949a18
Relevant Assets/Logs