File tree 5 files changed +16
-6
lines changed
5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
9
9
10
10
## [ Unreleased]
11
11
12
- # ` BL_Python.web ` [ 0.2.1 ] - 2024-05-16
13
- - [ BL_Python.web v0.2.1 ] ( https://github.com/uclahs-cds/BL_Python/blob/BL_Python.web-v0.2.1 /src/web/CHANGELOG.md#021 ---2024-05-16 )
12
+ # ` BL_Python.web ` [ 0.2.2 ] - 2024-05-16
13
+ - [ BL_Python.web v0.2.2 ] ( https://github.com/uclahs-cds/BL_Python/blob/BL_Python.web-v0.2.2 /src/web/CHANGELOG.md#022 ---2024-05-16 )
14
14
15
15
# ` BL_Python.platform ` [ 0.2.2] - 2024-05-16
16
- - [ BL_Python.platform v0.2.2] ( https://github.com/uclahs-cds/BL_Python/blob/BL_Python.platform-v0.2.2/src/platform/CHANGELOG.md#021---2024-05-16 )
16
+ - [ BL_Python.platform v0.2.2] ( https://github.com/uclahs-cds/BL_Python/blob/BL_Python.platform-v0.2.2/src/platform/CHANGELOG.md#022---2024-05-16 )
17
+
18
+ # ` BL_Python.all ` [ 0.2.3] - 2024-05-16
19
+ - Contains all libraries up to v0.2.1, and ` BL_Python.platform ` v0.2.2 and ` BL_Python.web ` v0.2.2
17
20
18
21
# [ 0.2.0] - 2024-05-14
19
22
### Added
Original file line number Diff line number Diff line change 1
- __version__ : str = "0.2.2 "
1
+ __version__ : str = "0.2.3 "
Original file line number Diff line number Diff line change 1
- __version__ : str = "0.2.1 "
1
+ __version__ : str = "0.2.2 "
Original file line number Diff line number Diff line change @@ -530,6 +530,12 @@ async def __call__(
530
530
}),
531
531
)
532
532
533
+ # Some values, like the query string, are stored as bytes.
534
+ # Decode as a UTF-8 str so encoding later doesn't fail.
535
+ for key , value in request_environ .items ():
536
+ if isinstance (value , bytes ):
537
+ request_environ [key ] = value .decode ("utf-8" )
538
+
533
539
request_ctx = exit_stack .enter_context (
534
540
app .request_context (request_environ )
535
541
)
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ Review the `BL_Python` [CHANGELOG.md](https://github.com/uclahs-cds/BL_Python/bl
10
10
11
11
---
12
12
13
- ## [ 0.2.1 ] - 2024-05-16
13
+ ## [ 0.2.2 ] - 2024-05-16
14
14
### Changed
15
15
- Ignore sentinel files created by ` make ` .
16
16
17
17
### Fixed
18
18
- Update type annotation for variable causing new failure in Pyright.
19
+ - Resolved crash when query string is stored as a byte array.
You can’t perform that action at this time.
0 commit comments