[winpr,utils] allow quoted sub arguments

fixes #9890.
This commit is contained in:
akallabeth 2024-02-27 09:57:09 +01:00 committed by akallabeth
parent 9a7d30d174
commit d8c0e7546e

View File

@ -515,13 +515,6 @@ static size_t get_element_count(const char* list, BOOL* failed, BOOL fullquoted)
if (!fullquoted)
{
int now = is_quoted(*it);
if ((quoted == 0) && !first)
{
WLog_ERR(TAG, "Invalid argument (misplaced quote) '%s'", list);
*failed = TRUE;
return 0;
}
if (now == quoted)
quoted = 0;
else if (quoted == 0)