We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe897a commit d3fa7dbCopy full SHA for d3fa7db
src/webserver/database/sqlpage_functions/url_parameter_deserializer.rs
@@ -59,7 +59,14 @@ impl<'de> Deserialize<'de> for URLParameters {
59
out.encode_and_push(&key);
60
out.0.push_str("[]");
61
out.0.push('=');
62
- out.encode_and_push(&val.to_string());
+
63
+ let val = val.to_string();
64
+ // Remove any surrounding quotes added by serde_json
65
+ out.encode_and_push(if val.starts_with("\"") && val.ends_with("\"") {
66
+ &val[1..val.len()-1]
67
+ } else {
68
+ &val
69
+ });
70
}
71
} else {
72
out.push_kv(&key, value);
0 commit comments