Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit a55847e

Browse files
authored
Merge pull request #3 from garaemon/2020.12.06-allow-escaped-space-and-comma
Allow escaped comma and space
2 parents 7ba2ab4 + bfb83a9 commit a55847e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/influxdb-cpp-rest/input_sanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace influxdb {
1414
namespace utility {
15-
constexpr const char* regex = R"((^[a-zA-Z0-9_/\\.\-]+$|"(?:[^\\"]|\\.)+"))";
15+
constexpr const char* regex = R"((^([a-zA-Z0-9_/\\.\-]|\\ |\\,)+$|"(?:[^\\"]|\\.)+"))";
1616

1717
const std::regex check_identifier(regex);
1818

0 commit comments

Comments
 (0)