mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
reject values starting with escape sequences if escaping support is turned on
This commit is contained in:
parent
a97fa9a449
commit
ee6ad4a461
@ -195,6 +195,14 @@ public:
|
||||
{
|
||||
return {pos, State::WAITING_KEY};
|
||||
}
|
||||
|
||||
if constexpr (WITH_ESCAPING)
|
||||
{
|
||||
if (isEscapeCharacter(current_character))
|
||||
{
|
||||
return {pos, State::WAITING_KEY};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return {pos, State::READING_VALUE};
|
||||
|
Loading…
Reference in New Issue
Block a user