asterisk/funcs
Joshua C. Colp 4aedaaadeb 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
2022-04-14 12:13:43 -05:00
..
Makefile Fix GCC 8 build issues. 2018-05-11 09:48:58 -04:00
func_aes.c func_aes: Avoid incorrect error message on load. 2020-03-31 12:07:23 -05:00
func_base64.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_blacklist.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_callcompletion.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
func_callerid.c func_callerid+res_agi: Fix compile errors related to -Werror=zero-length-bounds 2021-03-10 08:57:27 -06:00
func_cdr.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
func_channel.c func_channel: Add lastcontext and lastexten. 2022-02-25 14:43:20 -06:00
func_config.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_curl.c asterisk: Add macro for curl user agent. 2022-02-25 13:04:14 -06:00
func_cut.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_db.c func_db: Add validity check for key names when writing. 2022-02-23 15:19:59 -06:00
func_devstate.c documentation: Standardize examples 2021-12-01 12:27:30 -06:00
func_dialgroup.c astobj2: Remove legacy ao2_container_alloc routine. 2018-11-21 09:56:16 -05:00
func_dialplan.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_enum.c loader: Convert reload_classes to built-in modules. 2018-03-14 05:20:12 -04:00
func_env.c documentation: Document built-in system and channel vars 2022-01-12 08:20:21 -06:00
func_extstate.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_frame_drop.c func_frame_drop: Fix typo referencing wrong buffer 2022-01-31 08:55:04 -06:00
func_frame_trace.c bridge_softmix: Forward TEXT frames 2018-04-17 10:30:23 -06:00
func_global.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_groupcount.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_hangupcause.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
func_holdintercept.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
func_iconv.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_jitterbuffer.c func_jitterbuffer: Add audio/video sync support. 2019-09-18 20:22:50 +00:00
func_json.c func_json: Adds JSON_DECODE function 2021-12-13 12:25:08 -06:00
func_lock.c func_lock: Add "dialplan locks show" cli command. 2021-06-11 13:26:50 -05:00
func_logic.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_math.c func_math: Return integer instead of float if possible 2021-08-19 11:13:39 -05:00
func_md5.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_module.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
func_odbc.c func_odbc: Add SQL_ESC_BACKSLASHES dialplan function. 2022-04-14 12:13:43 -05:00
func_periodic_hook.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_periodic_hook.exports.in Fix error loading res_monitor. 2014-04-23 15:02:39 +00:00
func_pitchshift.c funcs: Spelling fixes 2021-11-15 19:28:27 -06:00
func_pjsip_aor.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_pjsip_contact.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_pjsip_endpoint.c xml: Embed module information into core XML documentation. 2021-03-16 10:30:43 -05:00
func_presencestate.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_rand.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_realtime.c Dialplan functions: Fix some channel autoservice misuse. 2018-06-19 10:56:33 -06:00
func_sayfiles.c func_sayfiles: Retrieve say file names 2021-09-10 11:46:03 -05:00
func_scramble.c func_scramble: Audio scrambler function 2021-08-19 09:48:41 -05:00
func_sha1.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_shell.c AST-2017-006: Fix app_minivm application MinivmNotify command injection 2017-08-30 18:43:38 +00:00
func_sorcery.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_speex.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_sprintf.c funcs: Spelling fixes 2021-11-15 19:28:27 -06:00
func_srv.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_strings.c funcs: Spelling fixes 2021-11-15 19:28:27 -06:00
func_sysinfo.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_talkdetect.c funcs: Spelling fixes 2021-11-15 19:28:27 -06:00
func_timeout.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_uri.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_version.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
func_vmcount.c func_vmcount: Add support for multiple mailboxes 2021-09-22 14:30:38 -05:00
func_volume.c func_volume: Add read capability to function. 2021-05-26 11:19:00 -05:00