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

Commit

Permalink
Merge pull request #3 from garaemon/2020.12.06-allow-escaped-space-an…
Browse files Browse the repository at this point in the history
…d-comma

Allow escaped comma and space
  • Loading branch information
garaemon authored Dec 6, 2020
2 parents 7ba2ab4 + bfb83a9 commit a55847e
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 a55847e

Please sign in to comment.