Shell WindowsRegistryKeyValue functionality broken for default key retrieval using trailing "\" #4119
Closed
1 task done
Labels
🐛 bug
Something isn't working
Code of Conduct
What happened?
In the Windows Registry, there is a notion of a "Default" key under a path, e.g.
The Windows APIs support this by asking for the key with name of empty string, "".
To support this in the WindowsRegistryKeyValue function without needing to supply a separate path and key, the function would look for a trailing
\
on the path. If this is present, it would treat the path as asking for the (Default) key under the path before the trailing\
.It looks like during a refactor this functionality was broken.
The fix is relatively simple. Perhaps we need to also add a set of tests for the function in case of future refactor.
Theme
n/a
What OS are you seeing the problem on?
Windows
Which shell are you using?
cmd, powershell
Log output
The text was updated successfully, but these errors were encountered: