Fallback to other content_type if parsing fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
signon-plugin-oauth2 (Ubuntu) |
Fix Released
|
High
|
Alberto Mardegan |
Bug Description
WHen trying to create a weibo account-plugin, an access_token is received, but failed to parse, as it shows up with CONTENT_TYPE of text/plain even though it's json
sendOAuth2PostR
syslog:Jan 28 06:28:01 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
syslog:Jan 28 06:28:02 ubuntu-phablet signonpluginpro
Changed in signon-plugin-oauth2 (Ubuntu): | |
assignee: | nobody → Alberto Mardegan (mardy) |
importance: | Undecided → High |
status: | New → In Progress |
This bug was fixed in the package signon- plugin- oauth2 - 0.21+15. 04.20150128- 0ubuntu1
--------------- plugin- oauth2 (0.21+15. 04.20150128- 0ubuntu1) vivid; urgency=medium
signon-
[ Alberto Mardegan ] unused- variable
* New upstream release
- Add ForceTokenRefresh flag for forcing a new token
- OAuth2: implement a fallback mechanism when parsing replies
(LP: #1415376)
- Fixes build with -Werror=
- Improve test coverage
-- Ubuntu daily release <email address hidden> Wed, 28 Jan 2015 17:16:29 +0000