Skip to content

Commit

Permalink
fix grammar error in sentence from contains to contain
Browse files Browse the repository at this point in the history
  • Loading branch information
jixinchi committed Apr 8, 2024
1 parent b817c61 commit 0c88967
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void validate(String name) throws IllegalArgumentException {
if (name.startsWith("\\") || name.startsWith("/"))
throw new IllegalArgumentException("Blob key '" + name + "' cannot start with \\ or /");
if (name.contains("../"))
throw new IllegalArgumentException("Blob key '" + name + "' cannot contains ../");
throw new IllegalArgumentException("Blob key '" + name + "' cannot contain ../");
}

}

0 comments on commit 0c88967

Please sign in to comment.