You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
These tests should fail:
Value_Separators_In_Between_Are_Ignored
Duplicate_Value_Separators_In_Between_Are_Ignored
Mixed_Duplicate_Value_Separators_In_Between_Are_Ignored
Our current logic uses separator and valueSeparation to split the command string. This is not an issue if both are the same e.g. " ".
If both values are different (e..g " " and "=") then this has an unexpected consequence. We end up ignoring an invalid command string. root1=grp1=cmd1 --opt3=\"option delimited value3\"
This should be an error as the command and arguments are still required to be separated by " ".
The text was updated successfully, but these errors were encountered:
perpetualintelligencegit
changed the title
Improve the logic doe CommandRouteParser for separators
Improve the logic of CommandRouteParser for separators
Sep 22, 2023
Describe the bug
These tests should fail:
Value_Separators_In_Between_Are_Ignored
Duplicate_Value_Separators_In_Between_Are_Ignored
Mixed_Duplicate_Value_Separators_In_Between_Are_Ignored
Our current logic uses separator and valueSeparation to split the command string. This is not an issue if both are the same e.g. " ".
If both values are different (e..g " " and "=") then this has an unexpected consequence. We end up ignoring an invalid command string.
root1=grp1=cmd1 --opt3=\"option delimited value3\"
This should be an error as the command and arguments are still required to be separated by " ".
The text was updated successfully, but these errors were encountered: