Skip to content

Commit 88f73ac

Browse files
authored
Merge pull request #19 from garaemon/allow-dot-slash
Allow dot and slash as message identifier
2 parents 6d3103e + 447d43f commit 88f73ac

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)