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

Skip to content

Commit 168d3a9

Browse files
+ fixed forms
1 parent 62dd3db commit 168d3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bevyframe/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, data: dict[str], app) -> None:
7878
self.method = data['method']
7979
self.path = data['path']
8080
self.headers = data['headers']
81-
self.body = urllib.parse.unquote(data['body'])
81+
self.body = urllib.parse.unquote(data['body'].replace('+', ' '))
8282
self.form = {}
8383
for b in self.body.split('\r\n'):
8484
for i in b.split('&'):

0 commit comments

Comments
 (0)