
.json is concatenated to path when optional parameters are used
Reported by hackSignal | March 27th, 2009 @ 12:06 AM
When adding parameters to url path .json is concatenated to the end of url path.
eg. current_user.twitter.get('/statuses/friends_timeline.json?page=2')
produces a GET /statuses/friends_timeline.json?page=2.json
Comments and changes to this ticket
-
Michael Bleigh March 27th, 2009 @ 11:29 AM
(from [7b8663b5088bc5cce89a2585f3f104f05b0fb8b1]) Dispatchers now correctly handle query strings. [#7 status:resolved] http://github.com/mbleigh/twitte...
-
Michael Bleigh March 27th, 2009 @ 11:33 AM
- State changed from new to resolved
This has now been fixed! I added some logic to do it intelligently instead of ham-handedly so for instance even:
user.twitter.get('/statuses/friends_timeline?page=2')
Will append a
.json
before the query string. -
Michael Bleigh April 21st, 2009 @ 10:00 AM
(from [80dd01e3c4d90ce713802a0b4586272aaedeb99f]) Dispatchers now correctly handle query strings. [#7 status:resolved] http://github.com/mbleigh/twitte...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A full-stack authentication system for Rails that uses Twitter.
People watching this ticket
Tags
Referenced by
-
7 .json is concatenated to path when optional parameters are used (from [7b8663b5088bc5cce89a2585f3f104f05b0fb8b1]) Dispatc...
-
7 .json is concatenated to path when optional parameters are used (from [80dd01e3c4d90ce713802a0b4586272aaedeb99f]) Dispatc...