philsturgeon/codeigniter-restserver — pull request #94 by swas (2012-02-13 21:05:42+00:00)
Title: Fixed up correctly .foo extensions to work when get arguments provided

There was an error in the function _detect_output_format()

With api/example/user/id/1.json URL's, enter in the first condition, but leaves without cleaning the arguments, which is done in the second condition.

Now, only enter in the first condition if the URL does not have arguments.