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

Allow escaped comma and space #3

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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