Official FusionPBX - A full-featured domain based multi-tenant PBX and voice switch for FreeSwitch.
Go to file
Alexey Melnichuk 1764700fd7 Fix. Escape `<>` in all fields in CDR xml.
When using redirect cdr also can contain e.g. `sip_redirect_contact_0` / `sip_redirected_to`.
I use `preg_replace_callback` to proceed all fields.
May be it more correct use urlencode because if we get xml with non UTF8 char we lost CDR.
```php
$xml_string = preg_replace_callback("/<([^><]+)>(.*?)<\/\g1>/",
	function ($matches) {
		// var_dump($matches);
		return '<' . $matches[1] . '>' .
			urlencode($matches[2]).
		'</' . $matches[1] . '>';
	},
	$xml_string
);
```
2015-07-02 19:08:48 +04:00
app Fix. Escape `<>` in all fields in CDR xml. 2015-07-02 19:08:48 +04:00
core Update app_menu.php 2015-07-02 00:17:15 -06:00
resources Fix a problem where the inbound context has public in the name with public@ as a prefix and .public as a suffix. 2015-06-30 18:42:52 +00:00
secure Fax: Fix fax-to-email, better conversion to PDF. 2015-05-11 23:41:11 +00:00
themes Language file merge from translation server. 2015-05-01 11:13:39 +00:00
.htaccess upgrade.php missing class php 2015-01-26 18:32:08 +00:00
index.php Remove the accidental changes to index.php 2015-04-18 18:40:07 +00:00
login.php Remove redundant code from login.php. 2015-05-25 15:52:16 +00:00
logout.php Logout: Prevent SQL error on logout if already logged out in a different window/tab. 2015-04-12 19:48:29 +00:00
root.php remove the s 2014-04-09 04:36:17 +00:00