mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 06:55:24 +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