brendanlim/mobile-fu — pull request #31 by steerio (2012-07-04 15:28:09+00:00)
Title: Fix to leave alone JSON (or other non-HTML) requests

There are applications that handle mobile web clients just as well as API or file (think CSV) requests from mobile devices. That's usually not a problem until the project name contains the "mobi" character sequence, which gets propagated to the User-Agent header, making mobile-fu turn all the non-HTML requests to mobile HTML ones, most possibly leading to a "view not found" error.

Considering that a lot of mobile projects will indeed have the word "mobile" in their name somehow, this fix can be pretty important.