Open jonathangenlambda opened 3 months ago
Thanks for the report @jonathangenlambda.
I have some homework to do now. None of that code significantly changed in this library between 1.0 and 0.3.2.1, so my suspicion is that the minimum dependency bumps are to blame here. I'm working on bisecting.
Data.Text.Encoding.Base16.decodeBase16Lenient fails in base16-1.0 with
Invalid UTF-8 stream
:fails with
This is a regression as with
base16-0.3.2.1
this didn't fail and produced the string"\NUL\DC4ß\DLEGENS"
Also the haddock clearly states that
decodeBase16Lenient
never fails:using a strategy that never fails, catching unicode exceptions raised in the process
.