Merge pull request #4348 from offhub/fix022
Fixed browse for folder issue in resource access
This commit is contained in:
commit
f4d1877963
|
@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
### Fixed
|
||||
- fixed Sign the .tmp file that gets dropped when installing or updating Sandboxie Plus [#2643](https://github.com/sandboxie-plus/Sandboxie/issues/2643)
|
||||
|
||||
- fixed Files Resource Access - Browse for Folder - allows access to excluded folders [#4007](https://github.com/sandboxie-plus/Sandboxie/issues/4007)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -379,6 +379,10 @@ void COptionsWindow::OnBrowseFolder()
|
|||
if (Value.isEmpty())
|
||||
return;
|
||||
|
||||
// Add a trailing backslash if it does not exist
|
||||
if (!Value.endsWith("\\"))
|
||||
Value.append("\\");
|
||||
|
||||
AddAccessEntry(eFile, eOpen, "", Value);
|
||||
|
||||
OnAccessChanged();
|
||||
|
|
Loading…
Reference in New Issue