Fix Typo in error message.

Closes #2073
This commit is contained in:
Jens Schauder
2025-06-16 08:46:36 +02:00
parent 42b699626a
commit d62935aa41

View File

@@ -84,7 +84,7 @@ public class SqlSort extends Sort {
if (!predicate.test(property)) {
throw new IllegalArgumentException(
"order fields that are not marked as unsafe must only consist of digits, letter, '.', '_', and '\'. If you want to sort by arbitrary expressions please use RelationalSort.unsafe. Note that such expressions become part of SQL statements and therefore need to be sanatized to prevent SQL injection attacks.");
"order fields that are not marked as unsafe must only consist of digits, letter, '.', '_', and '\'. If you want to sort by arbitrary expressions please use RelationalSort.unsafe. Note that such expressions become part of SQL statements and therefore need to be sanitized to prevent SQL injection attacks.");
}
}