Skip to content

Commit 62f85f4

Browse files
fix bad use of query
see mojolicious/mojo#2259
1 parent bf70584 commit 62f85f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OpenAPI/Modern.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ sub find_path ($self, $options, $state = {}) {
442442
}
443443

444444
return E({ %$state, data_path => '/request/uri/path', keyword => 'paths' }, 'no match found for request URI "%s"',
445-
$options->{request}->url->clone->query(undef)->fragment(undef))
445+
$options->{request}->url->clone->query('')->fragment(undef))
446446
if not $capture_values;
447447
}
448448

0 commit comments

Comments
 (0)