mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 02:16:10 +08:00

We were throwing ArgumentError in UrlHelper.normalised_encode, but it was incorrect -- we were passing ArgumentError.new 2 arguments which is not supported. Fix this and have a hint of which URL is causing the issue for debugging.