awesomefoundation / awesomebits

This is the source code for the Awesome Foundation website
https://www.awesomefoundation.org/
GNU Affero General Public License v3.0
62 stars 53 forks source link

Fix linking error in i18n footer links #533

Closed jcn closed 1 year ago

jcn commented 1 year ago

When being passed a param with the name "params" the footer i18n language links were failing with the message:

ActionView::Template::Error no implicit conversion of String into Hash

This is presumably someone just stuffing params into our query strings but bad data shouldn't cause the page to crash, so let's just strip out the offending parameter for now.

https://app.rollbar.com/a/awesomefoundation/fix/item/awesomefoundation/353