Skip to content

Commit

Permalink
use correct value for empty pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Jan 8, 2025
1 parent c9e2576 commit fdcaf31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ada/url_pattern-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ url_pattern_component::create_component_match_result(

// If input is empty, then groups will always be empty.
if (input.empty()) {
result.groups.insert({"0", ""});
return result;
}

Expand Down

0 comments on commit fdcaf31

Please sign in to comment.