Skip to content

Fixing Typo in SqlSort Exception Message #2073

Closed
@ghgh415263

Description

@ghgh415263

Hello,

I found typo and am opening this issue to report it. If confirmed, I would like to submit a pull request to fix it.

Thank you!

SqlSort.java

sanatized -> sanitized

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.");
}

thanks for reading

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions