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 comment:1
| resolution: | → fixed | 
|---|---|
| status: | new → closed | 
Changed October 26, 2006 02:20PM UTC by comment:2
| component: | → ajax | 
|---|---|
| priority: | → blocker | 
| resolution: | → invalid | 
| status: | reopened → closed | 
| type: | → bug | 
SPAMPOLICE
Changed November 08, 2006 04:30PM UTC by comment:3
| cc: | "" → Rebecca | 
|---|---|
| component: | ajax → 1 | 
| keywords: | get, querysting, ajax → Rebecca | 
| milestone: | → 1 | 
| priority: | blocker → 1 | 
| summary: | Params to $.get() are appended wrong to querystring → Rebecca | 
| type: | bug → 1 | 
| version: | → 1 | 
Changed November 08, 2006 05:03PM UTC by comment:4
| cc: | Rebecca → Diana | 
|---|---|
| keywords: | Rebecca → Diana | 
| summary: | Rebecca → Diana | 
Changed October 24, 2010 09:22PM UTC by comment:5
| component: | 1 | 
|---|---|
| milestone: | 1 | 
| priority: | 1 | 
| type: | 1 | 
| version: | 1 | 
Changed October 24, 2010 09:28PM UTC by comment:6
| cc: | Diana | 
|---|---|
| keywords: | Diana → Diana,SPAM | 
Fixed in SVN.