fix quotes value being cut off

This commit is contained in:
dusk 2025-10-15 20:39:50 +00:00
parent 376f688ff4
commit f29e48ea74
No known key found for this signature in database

View file

@ -85,7 +85,7 @@ pub(super) fn next_param<'a>(input: &'a str, current_pos: usize) -> Option<Match
if let Some(end_quote_pos) = find_quotes(substr_to_match) {
// return quoted string, without quotes
return Some(MatchedParam {
value: &substr_to_match[1..end_quote_pos - 1],
value: &substr_to_match[1..end_quote_pos],
next_pos: current_pos + end_quote_pos + 1,
in_quotes: true,
});