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
Raise on list value in query string parameter encoding (#6632)
When a plain list is interpolated as a query string value
(e.g., ~p"/path?key=#{[value]}"), raise an ArgumentError with a
helpful message pointing to the correct syntax
(~p"/path?#{[key: [value]]}").
Previously, the list was silently treated as a dict by
Plug.Conn.Query.encode, producing incorrect output like
"key=[]=value".
Closes#6582
0 commit comments