Last modified: 2014-08-25 21:00:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67260, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65260 - Issued at time should be returned as a number
Issued at time should be returned as a number
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OAuth (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-13 15:08 UTC by Aaron Halfaker
Modified: 2014-08-25 21:00 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aaron Halfaker 2014-05-13 15:08:51 UTC
Calls to Special:OAuth/identify will return a web token with the Issued At Time (iat) as a string.  This value should appear as a number like Expiration (exp) is.

Behavior:
{
 ...
"iat": "1399992248",
"exp": 1399992290,
 ...
}

Expected:
{
 ...
"iat": 1399992248,
"exp": 1399992290,
 ...
}

I've set the priority to "minor" since parsing the number is a simple work-around.
Comment 1 Quim Gil 2014-08-25 08:55:09 UTC
There is a patch for review at https://gerrit.wikimedia.org/r/#/c/133588/ but for some reason Gerrit didn't post here. Setting status manually.
Comment 2 Gerrit Notification Bot 2014-08-25 20:57:36 UTC
Change 133588 merged by jenkins-bot:
Make iat timestamp an int instead of string

https://gerrit.wikimedia.org/r/133588
Comment 3 Brad Jorsch 2014-08-25 21:00:05 UTC
This should be deployed to WMF wikis with 1.24wmf19, see https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links