forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Wrong argument error being thrown in UrlHelper (discourse#24506)
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.
- Loading branch information
1 parent
86da47f
commit 4e7929a
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters