Documentation for User.login should state cookies not used for JSONRPC and REST when making future connections

RESOLVED FIXED in Bugzilla 5.0

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dkl, Assigned: dkl)

Tracking

Bugzilla 5.0
x86_64
Linux
Bug Flags:
approval +

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/User.html#login states:

Returns

    On success, a hash containing two items, id, the numeric id of the user that was logged in, and a token which can be passed in the parameters as authentication in other calls. A set of http cookies is also sent with the response. These cookies *or* the token can be sent along with any future requests to the webservice, for the duration of the session.

The text needs to be changes to state that cookies are only accepted for POST/PUT requests when using JSONRPC or REST endpoints for the API.

Will attach a patch.

dkl
(Assignee)

Comment 1

5 years ago
Created attachment 801619 [details] [diff] [review]
914196_1.patch
Attachment #801619 - Flags: review?(glob)
Comment on attachment 801619 [details] [diff] [review]
914196_1.patch

r=glob
Attachment #801619 - Flags: review?(glob) → review+
Flags: approval+
Target Milestone: --- → Bugzilla 5.0
(Assignee)

Comment 3

5 years ago
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/WebService/User.pm
Committed revision 8732.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.