Opened 10 years ago

Closed 10 years ago

#8417 closed defect (wontfix)

OAuth signing breaks unless query string content is manually added to the URL

Reported by: Revin Guillen Owned by: Tom Trenka
Priority: high Milestone: 1.4
Component: Dojox Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

dojox.io.OAuth.sign seems to erroneously require query string vars to be included in the url property of the kwArgs. I would expect to be able to do, e.g.:

dojo.xhrGet(dojox.io.OAuth.sign("GET", {
	url: "http://domain.com/some/endpoint",
	content: content,
	handleAs:"xml",
	load: callback
}, oauthInfo));

but I get an error unless I create the whole URL myself:

dojo.xhrGet(dojox.io.OAuth.sign("GET", {
	url: "http://domain.com/some/endpoint" + dojo.objectToQuery(content),
	handleAs:"xml",
	load: callback
}, oauthInfo));

This is in the AIR environment; I haven't tested this in a regular browser yet.

Change History (3)

comment:1 Changed 10 years ago by Tom Trenka

Milestone: tbd1.3
Status: newassigned

comment:2 Changed 10 years ago by dante

Milestone: 1.31.4

comment:3 Changed 10 years ago by Tom Trenka

Resolution: wontfix
Status: assignedclosed

After some research, closing this as a won't fix--it seems to have been specific to Netflix.

Note: See TracTickets for help on using tickets.