mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 13:41:43 -04:00
The previous escape only doubled quotes and backslashes. A quest description containing a literal newline would emit a multi-line INSERT that breaks per-line execution scripts; a NUL byte could prematurely terminate the string in non-length-prefixed clients; Ctrl-Z is the historical MySQL string terminator on Windows. Now full MySQL/MariaDB string-literal escape: NUL drops, CR/LF/tab become \r/\n/\t, Ctrl-Z becomes \Z.
13 KiB
13 KiB