diff options
author | Dean Ferreyra <dean@octw.com> | 2020-09-19 05:58:18 +0300 |
---|---|---|
committer | Dean Ferreyra <dean@octw.com> | 2020-09-19 05:58:18 +0300 |
commit | edb2819d6f982e3721d92bcef2f30918815a35cd (patch) | |
tree | 67042764d1424189d1bcdd11bed9f67e772c2a04 /Duplicati/CommandLine | |
parent | ba48f1474639a33ec78aeb3629560c5e77ee3028 (diff) |
Disable "legacy path handling" for executables
This is a defensive measure in case legacy path handling has been
enabled at the system level. Duplicati requires that legacy path
handling be _disabled_ to function properly.
Issue #4295 appears to be a result of legacy path handling being
enabled globally.
Diffstat (limited to 'Duplicati/CommandLine')
-rw-r--r-- | Duplicati/CommandLine/BackendTester/app.config | 1 | ||||
-rw-r--r-- | Duplicati/CommandLine/BackendTool/app.config | 1 | ||||
-rw-r--r-- | Duplicati/CommandLine/ConfigurationImporter/app.config | 1 | ||||
-rw-r--r-- | Duplicati/CommandLine/app.config | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/Duplicati/CommandLine/BackendTester/app.config b/Duplicati/CommandLine/BackendTester/app.config index 85bf1086d..f8e90b9d2 100644 --- a/Duplicati/CommandLine/BackendTester/app.config +++ b/Duplicati/CommandLine/BackendTester/app.config @@ -4,6 +4,7 @@ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
<runtime>
+ <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
diff --git a/Duplicati/CommandLine/BackendTool/app.config b/Duplicati/CommandLine/BackendTool/app.config index e79c0a8bf..bf21025c0 100644 --- a/Duplicati/CommandLine/BackendTool/app.config +++ b/Duplicati/CommandLine/BackendTool/app.config @@ -4,6 +4,7 @@ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
<runtime>
+ <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
diff --git a/Duplicati/CommandLine/ConfigurationImporter/app.config b/Duplicati/CommandLine/ConfigurationImporter/app.config index fb8872460..d32715a66 100644 --- a/Duplicati/CommandLine/ConfigurationImporter/app.config +++ b/Duplicati/CommandLine/ConfigurationImporter/app.config @@ -4,6 +4,7 @@ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" /> </startup> <runtime> + <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> diff --git a/Duplicati/CommandLine/app.config b/Duplicati/CommandLine/app.config index 74c0529e7..7deb7437d 100644 --- a/Duplicati/CommandLine/app.config +++ b/Duplicati/CommandLine/app.config @@ -4,6 +4,7 @@ <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
<runtime>
+ <AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|