mobile-fu icon indicating copy to clipboard operation
mobile-fu copied to clipboard

Fix to leave alone JSON (or other non-HTML) requests

Open steerio opened this issue 12 years ago • 4 comments

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.

steerio avatar Jul 04 '12 15:07 steerio

+1

laurynas avatar Dec 22 '12 20:12 laurynas

+1, I also am experiencing problems with this

atyndall avatar Feb 12 '13 13:02 atyndall

Turns out this repo isn't the version maintained in the gem repo. I've submitted a reworked pull request in the more modern version; benlangfeld/mobile-fu#29

atyndall avatar Feb 12 '13 14:02 atyndall

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

benlangfeld avatar Dec 11 '13 14:12 benlangfeld