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

Commit

Permalink
Allow escaped comma and space
Browse files Browse the repository at this point in the history
  • Loading branch information
garaemon committed Dec 6, 2020
1 parent 7ba2ab4 commit bfb83a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/influxdb-cpp-rest/input_sanitizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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

const std::regex check_identifier(regex);

Expand Down

0 comments on commit bfb83a9

Please sign in to comment.