web search done right
if '#' is before '?' in an url, the query part is simply from '?' to url.len()
Mikkel Denkerf4cc94f7e514
diff --git a/core/src/webpage/url.rs b/core/src/webpage/url.rsindex d7ccd2cf..8b2df91d 100644--- a/core/src/webpage/url.rs+++ b/core/src/webpage/url.rs@@ -152,7 +152,9 @@ impl Url {let mut end_query = url.len();if let Some(hash) = url.find('#') {- end_query = ceil_char_boundary(url, hash);+ if hash > start_query {+ end_query = ceil_char_boundary(url, hash);+ }}Some(start_query..end_query)