EncyclopediaOfLife/eol — comment on commit ef7b6563f13254bf99b4ecb17943ef29ce61e2a1
File:  line 0
By pleary:

If the only concern about params is that they might get manipulated, how about changing this into some kind of before filter which happens nearly at the beginning of all calls (sure it may not be best practice to set variables in a before filter, but we do it already and it might help in this case). I'm not keeping up with this and I'm not saying we should change this at this point, but the idea of using a regex on a URL seems less clean than just removing some items from the params array and building a new URL from that.