Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee5e90c

Browse files
authored
Fix bug when clearing query
1 parent 4d6b3c0 commit ee5e90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/skyr/v2/core/url_parser_context.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ class url_parser_context {
877877
}
878878

879879
void clear_query() {
880-
url.query->clear();
880+
url.query = std::nullopt;
881881
}
882882

883883
void set_empty_query() {

0 commit comments

Comments
 (0)