You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a URL like: example.com?host=foo and you call sort_link on the page it will generate a URL for foo instead of example.com. This is a result of Rails' URL helpers but regardless SortLink#url_options should be scrubbing this and the other URL altering parameters.
Seeing this on 2.3.0 but from the code it looks to be a problem on master too.
The workaround is to params.delete(:host) before calling.
If you have a URL like:
example.com?host=foo
and you callsort_link
on the page it will generate a URL forfoo
instead ofexample.com
. This is a result of Rails' URL helpers but regardlessSortLink#url_options
should be scrubbing this and the other URL altering parameters.Seeing this on 2.3.0 but from the code it looks to be a problem on master too.
The workaround is to
params.delete(:host)
before calling.Related #693
The text was updated successfully, but these errors were encountered: