Merge pull request #6693 from duplicati/feature/minor-bugfix-update

Minor fixes
This commit is contained in:
Kenneth Skovhede
2026-01-06 11:03:35 +01:00
committed by GitHub
5 changed files with 9 additions and 6 deletions
@@ -96,6 +96,7 @@ namespace Duplicati.Library.Backend
{ "Rabata EU West 2 (Netherlands)", "s3.eu-west-2.rabata.io" },
{ "Internxt US Central 1 (Texas)", "s3.us-central-1.internxt.com" },
{ "Internxt EU Central 1 (Amsterdam)", "s3.eu-central-1.internxt.com" },
{ "Cloudflare R2", ".r2.cloudflarestorage.com" }
};
//Updated list: http://docs.amazonwebservices.com/general/latest/gr/rande.html#s3_region
+4 -4
View File
@@ -25,10 +25,10 @@ namespace Duplicati.Library.Backend.Strings
{
public static string Description_v2 { get { return LC.L(@"This backend can read and write data to an S3 compatible server. Allowed format is ""s3://bucketname/prefix""."); } }
public static string DisplayName { get { return LC.L(@"S3 compatible"); } }
public static string AMZKeyDescriptionLong { get { return LC.L(@"AWS Secret Access Key can be obtained after logging into your AWS account. This can also be supplied through the option --{0}.", "auth-password"); } }
public static string AMZKeyDescriptionShort { get { return LC.L(@"AWS Secret Access Key"); } }
public static string AMZUserIDDescriptionLong { get { return LC.L(@"AWS Access Key ID can be obtained after logging into your AWS account. This can also be supplied through the option --{0}.", "auth-username"); } }
public static string AMZUserIDDescriptionShort { get { return LC.L(@"AWS Access Key ID"); } }
public static string AMZKeyDescriptionLong { get { return LC.L(@"Secret Access Key can be obtained after logging into your account. This can also be supplied through the option --{0}.", "auth-password"); } }
public static string AMZKeyDescriptionShort { get { return LC.L(@"Secret Access Key"); } }
public static string AMZUserIDDescriptionLong { get { return LC.L(@"Access Key ID can be obtained after logging into your account. This can also be supplied through the option --{0}.", "auth-username"); } }
public static string AMZUserIDDescriptionShort { get { return LC.L(@"Access Key ID"); } }
public static string AuthPasswordDescriptionLong { get { return LC.L(@"The password used to connect to the server. This may also be supplied as the environment variable ""AUTH_PASSWORD""."); } }
public static string AuthPasswordDescriptionShort { get { return LC.L(@"Supply the password used to connect to the server"); } }
public static string AuthUsernameDescriptionLong { get { return LC.L(@"The username used to connect to the server. This may also be supplied as the environment variable ""AUTH_USERNAME""."); } }
@@ -617,6 +617,7 @@ namespace Duplicati.Library.Main.Operation
.Where(x => x.State == RemoteVolumeState.Verified)
.GroupBy(x => x.Type)
.Select(x => x.LongCount())
.Append(0L)
.MaxAsync()
.ConfigureAwait(false);
@@ -673,7 +673,8 @@ namespace Duplicati.Library.Modules.Builtin
".tcloud.com",
".tencentcloudapi.com",
".rabata.io",
".internxt.com"
".internxt.com",
".cloudflarestorage.com"
], StringComparer.OrdinalIgnoreCase);
/// <summary>
+1 -1
View File
@@ -1654,7 +1654,7 @@ namespace Duplicati.Library.Utility
var sepIndex = Math.Max(0, url.IndexOf('|')) + 1;
var length = url.Length - sepIndex;
var shown = Math.Min(length, maxShown);
var hidden = length - maxShown;
var hidden = length - shown;
var sanitizedUrl = $"{url[sepIndex..(sepIndex + shown)]}{new string('*', hidden)}";
// If we can parse it, this result is better