Skip to content
Snippets Groups Projects
Commit 88522c22 authored by Joshua C. Colp's avatar Joshua C. Colp Committed by Michael Bradeen
Browse files

func_odbc: Add SQL_ESC_BACKSLASHES dialplan function.

Some databases depending on their configuration using backslashes
for escaping. When combined with the use of ' this can result in
a broken func_odbc query.

This change adds a SQL_ESC_BACKSLASHES dialplan function which can
be used to escape the backslashes.

This is done as a dialplan function instead of being always done
as some databases do not require this, and always doing it would
result in incorrect data being put into the database.

ASTERISK-29838

Change-Id: I152bf34899b96ddb09cca3e767254d8d78f0c83d
parent 50ed3ed5
No related branches found
Tags 18.11.1
1 merge request!48asterisk uplift to 18.11.2
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment