Add common whitespace characters, ASCII, HTML, backslashes to literal escaping #1

Merged
bbenouarets merged 1 commits from advanced-literal-escape into main 2025-11-06 18:37:38 +00:00
Owner
  • Single quotes (doubled to prevent SQL injection: ' -> '')
  • Backslashes (escaped for safety: \ -> \)
  • NULL bytes (removed as they are not valid in PostgreSQL strings)
  • ASCII control characters (0x00-0x1F, except tab, newline, carriage return) escaped as octal
- Single quotes (doubled to prevent SQL injection: ' -> '') - Backslashes (escaped for safety: \ -> \\) - NULL bytes (removed as they are not valid in PostgreSQL strings) - ASCII control characters (0x00-0x1F, except tab, newline, carriage return) escaped as octal
bbenouarets added 1 commit 2025-11-06 18:37:16 +00:00
bbenouarets merged commit 02cf76ed6b into main 2025-11-06 18:37:38 +00:00
bbenouarets deleted branch advanced-literal-escape 2025-11-06 18:37:41 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SecNex/pgson#1
No description provided.