You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to use a pattern which can match an empty substring, backend fails without responding to the query. E.g. searching for x?: https://hackage-search.serokell.io/?q=x%3F
In the logs there is this error: Cannot decode byte '\xc2': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream. Maybe it's because decodeUtf8 is applied to a sliced bytestring, and the slice can happen in the middle of a UTF-8 sequence.
When you try to use a pattern which can match an empty substring, backend fails without responding to the query. E.g. searching for
x?
: https://hackage-search.serokell.io/?q=x%3FIn the logs there is this error:
Cannot decode byte '\xc2': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream
. Maybe it's becausedecodeUtf8
is applied to a sliced bytestring, and the slice can happen in the middle of a UTF-8 sequence.hackage-search/backend/Search.hs
Line 548 in 0e2ef73
The text was updated successfully, but these errors were encountered: