Skip to content

Commit

Permalink
fix plus-to-space decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ukarim committed Oct 25, 2023
1 parent 335eef7 commit cfecc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class WebServer {
var data = LinkedHashMap<String, String?>();
reqBody.split("&").forEach((pair) {
var p = pair.split("=");
data[p[0]] = Uri.decodeComponent(p[1]);
data[p[0]] = Uri.decodeQueryComponent(p[1]);
});
return data;
}
Expand Down

0 comments on commit cfecc31

Please sign in to comment.