Fix to undesired characters set to avoid altering original SDP from Dante devices.-
The comma (,) is used by Dante Devices in SDP and it was removed by the daemon.
This commit is contained in:
parent
429948bc6d
commit
b10350488f
@ -29,7 +29,7 @@
|
|||||||
#include "json.hpp"
|
#include "json.hpp"
|
||||||
|
|
||||||
static inline std::string remove_undesired_chars(const std::string& s) {
|
static inline std::string remove_undesired_chars(const std::string& s) {
|
||||||
std::regex html_regex("[^ A-Za-z0-9:~._/=%\()\\r\\n\\t\?#-]?");
|
std::regex html_regex("[^ A-Za-z0-9:~.,_/=%\()\\r\\n\\t\?#-]?");
|
||||||
return std::regex_replace(s, html_regex, "");
|
return std::regex_replace(s, html_regex, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user