Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 9 years ago

#215 closed (invalid)

Diana

Reported by: tuupola@… Owned by:
Priority: Milestone:
Component: Version:
Keywords: Diana, SPAM Cc:
Blocked by: Blocking:

Description

If url given to $.get() already contains GET parameters and additional params hash is given the request querystring will be broken.

var get = {"xxx" : "yyy"};
var url = "http://www.example.com/test.php?foo=bar";
$.get(url, get, function(f) { 
    console.log(f);
});

/* Resulting url:                                  */
/* http://www.example.com/test.php?foo=bar?xxx=yyy */

Live example at:

http://www.appelsiini.net/~tuupola/test/jquery/get_querystring.html

Change History (6)

comment:1 Changed 14 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in SVN.

comment:2 Changed 13 years ago by joern

Component: ajax
Priority: blocker
Resolution: invalid
Status: reopenedclosed
Type: bug

SPAMPOLICE

comment:3 Changed 13 years ago by Rebecca

Cc: Rebecca added; "" removed
Component: ajax1
Keywords: Rebecca added; get querysting ajax removed
Milestone: 1
Priority: blocker1
Summary: Params to $.get() are appended wrong to querystringRebecca
Type: bug1
Version: 1

comment:4 Changed 13 years ago by Diana

Cc: Diana added; Rebecca removed
Keywords: Diana added; Rebecca removed
Summary: RebeccaDiana

comment:6 Changed 9 years ago by snover

Component: 1
Milestone: 1
Priority: 1
Type: 1
Version: 1

comment:7 Changed 9 years ago by snover

Cc: Diana removed
Keywords: SPAM added
Note: See TracTickets for help on using tickets.