Skip to content

Commit

Permalink
Fix ConfigDescriptionsManager misinterpreting a double-quote alone (`…
Browse files Browse the repository at this point in the history
…"`) as a quoted part
  • Loading branch information
yrodiere committed Oct 4, 2022
1 parent 726645a commit a034d9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private String ensureQuoted(String part) {
}

private boolean isQuoted(String part) {
return part.charAt(0) == '\"' && part.charAt(part.length() - 1) == '\"';
return part.length() >= 2 && part.charAt(0) == '\"' && part.charAt(part.length() - 1) == '\"';
}

@Override
Expand Down

0 comments on commit a034d9f

Please sign in to comment.