Skip to main content

Bug Tracker

Side navigation

#215 closed (invalid)

Opened September 26, 2006 08:43AM UTC

Closed October 26, 2006 02:20PM UTC

Last modified October 24, 2010 09:28PM UTC

Diana

Reported by: tuupola@appelsiini.n 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

Attachments (0)
Change History (6)

Changed October 01, 2006 03:00PM UTC by joern comment:1

resolution: → fixed
status: newclosed

Fixed in SVN.

Changed October 26, 2006 02:20PM UTC by joern comment:2

component: → ajax
priority: → blocker
resolution: → invalid
status: reopenedclosed
type: → bug

SPAMPOLICE

Changed November 08, 2006 04:30PM UTC by Rebecca comment:3

cc: ""Rebecca
component: ajax1
keywords: get, querysting, ajaxRebecca
milestone: → 1
priority: blocker1
summary: Params to $.get() are appended wrong to querystringRebecca
type: bug1
version: → 1

Changed November 08, 2006 05:03PM UTC by Diana comment:4

cc: RebeccaDiana
keywords: RebeccaDiana
summary: RebeccaDiana

Changed October 24, 2010 09:22PM UTC by snover comment:5

component: 1
milestone: 1
priority: 1
type: 1
version: 1

Changed October 24, 2010 09:28PM UTC by snover comment:6

cc: Diana
keywords: DianaDiana,SPAM