Closed bpascard closed 1 year ago
Merging #658 (3f1cace) into master (274898f) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #658 +/- ##
=======================================
Coverage 86.51% 86.51%
=======================================
Files 52 52
Lines 2091 2091
=======================================
Hits 1809 1809
Misses 282 282
Impacted Files | Coverage Δ | |
---|---|---|
silk/sql.py | 78.78% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
The aim of this pull request is to prevent an exception from being raised when profiling an SQL query that contains parameters which are arbitrary bytes.
Queries that contain parameters that are bytes can still raise DjangoUnicodeDecodeError if the codec cannot decode the bytes. This is because
force_str()
uses 'strict' mode by default. This fix permanently solves issue #157.Before
After