mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/758
Author: @cosmo0
Created: 4/3/2023
Status: ✅ Merged
Merged: 4/3/2023
Merged by: @GregorBiswanger
Base:
main← Head:patch-1📝 Commits (1)
1ae2f1dFixes issue #735 - paths are URL escaped📊 Changes
1 file changed (+1 additions, -6 deletions)
View changed files
📝
ElectronNET.API/Dialog.cs(+1 -6)📄 Description
When selecting a path with special characters, they might get removed by the folder selection C#-side (see issue https://github.com/ElectronNET/Electron.NET/issues/735).
They are URL-decoded inside the ShowOpenDialogAsync method, which doesn't make sense: the decoding, if applicable, should be the responsibility of the JS side.
It's clearly not mandatory because other "dialog" methods, such as ShowSaveDialogAsync, don't use this UrlDecode and work fine.
This PR removes the URL decoding.
Re-creation of PR #736
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.