mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 23:45:30 +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