mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 20:56:09 +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.