mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +00:00
An HTML document sent without a charset in the Content-Type header needs to be scanned for a charset in <meta> tags. We need to pass bytes instead of str to Beautiful Soup to allow it to do this. Fixes #16843. Signed-off-by: Anders Kaseorg <anders@zulip.com>
37 KiB
37 KiB