Periods in your rails requests and the “format”
I sometimes hit a bug where a username has a period in it… so if you have a path such as:
Rails will parse that first period as the beginning of the format param… so you lose the files route, etc.
It does let you use %2E though which will be unescaped to the period in your params… so
will give you the correct user_id param of “my.username” and continue on its routed merry way.
Just a simple reminder. Probably more for me than you 🙂
From → Social Web