Merge pull request #3134 from warwickmm/remove_culture_aware_comparisons
Make string comparison use ordinal (binary) sort rules
This commit is contained in:
@@ -129,7 +129,7 @@ namespace Duplicati.Library.Backend
|
||||
string requestBase = string.Format("{0}/sites/{1}", this.ApiVersion, uri.Host);
|
||||
|
||||
// Just like the original SharePoint backend, use the "//" as a hint at where the site might be
|
||||
int siteHint = uri.Path.IndexOf("//");
|
||||
int siteHint = uri.Path.IndexOf("//", StringComparison.Ordinal);
|
||||
if (siteHint >= 0)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user