Opened 7 years ago

Closed 6 years ago

#18368 closed enhancement (wontfix)

ioQuery.queryToObject(): if no string is passed use URL instead

Reported by: Simon Speich Owned by:
Priority: undecided Milestone: tbd
Component: Core Version: 1.10.2
Keywords: Cc:
Blocked By: Blocking:


This fixes Line 70: FIXME: should we grab the URL string if we're not passed one?

var dec = decodeURIComponent, qp, ret = {}, name, val;
str = str ||;
qp = str.split("&");

I hardly ever use queryToObject() without first getting the url. I think it would be very convenient to let queryToObject() do this for you as the FIXME suggests.

Pull request will be available in few minutes.

Change History (2)

comment:2 Changed 6 years ago by dylan

Resolution: wontfix
Status: newclosed

Rejected due to change in behavior, as discussed in the pr.

Note: See TracTickets for help on using tickets.