denisenkom / pytds

Python DBAPI driver for MSSQL using pure Python TDS (Tabular Data Stream) protocol implementation
MIT License
190 stars 52 forks source link

Fix case sensitivity when checking TLS certificate #165

Open michael-dev opened 2 weeks ago

michael-dev commented 2 weeks ago

SAN DNS entry is not case sensitive, so ignore case of hostname. Otherwise connections might fail.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.10%. Comparing base (585547b) to head (09e2f69).

Files Patch % Lines
src/pytds/tls.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #165 +/- ## ========================================== - Coverage 89.10% 89.10% -0.01% ========================================== Files 44 44 Lines 8095 8092 -3 ========================================== - Hits 7213 7210 -3 Misses 882 882 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.