sciencehistory / scihist_digicoll

Science History Institute Digital Collections
Other
13 stars 0 forks source link

Stop using `format` as a filtering param: it's a reserved word. #2785

Closed eddierubeiz closed 1 week ago

eddierubeiz commented 1 week ago

Ref #2783

See this StackOverflow post:

"In the context of a URL in Ruby on Rails there are at least five reserved parameter names: method, controller, action, id, format. You cannot use these keys for anything else than for their intended purpose."

Sounds good. Let's not.