mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 04:17:42 +08:00

Non UTF-8 user_agent requests were bypassing logging due to PG always wanting UTF-8 strings. This adds some conversion to ensure we are always dealing with UTF-8