Skip to content

Commit af688f2

Browse files
committed
Make sure Amazon returns the invalid length
1 parent 31a1062 commit af688f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/SimpleS3.Extensions.AmazonS3/AmazonS3InputValidator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected override bool TryValidateKeyIdInternal(string keyId, out ValidationSta
1515
if (keyId.Length != 20)
1616
{
1717
status = ValidationStatus.WrongLength;
18-
message = null;
18+
message = "20";
1919
return false;
2020
}
2121

0 commit comments

Comments
 (0)