mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-04 23:19:20 +00:00
Update translate.conf.lua (#6765)
Remove sanitization of number-translation regexes
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
x = 0;
|
||||
dbh:query(sql, params, function(field)
|
||||
if (string.len(field.number_translation_detail_regex) > 0) then
|
||||
xml:append([[ <rule regex="]] .. xml.sanitize(field.number_translation_detail_regex) .. [[" replace="]] .. xml.sanitize(field.number_translation_detail_replace) .. [[" />]]);
|
||||
xml:append([[ <rule regex="]] .. field.number_translation_detail_regex .. [[" replace="]] .. field.number_translation_detail_replace .. [[" />]]);
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user