Diana
Reported by: |
[email protected]… |
Owned by: |
|
Priority:
|
|
Milestone:
|
|
Component:
|
|
Version:
|
|
Keywords:
|
Diana, SPAM
|
Cc:
|
|
Blocked by:
|
|
Blocking:
|
|
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)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
→ ajax
|
Priority: |
→ blocker
|
Resolution: |
→ invalid
|
Status: |
reopened →
closed
|
Type: |
→ bug
|
Cc: |
Rebecca added; "" removed
|
Component: |
ajax →
1
|
Keywords: |
Rebecca added; get querysting ajax removed
|
Milestone: |
→ 1
|
Priority: |
blocker →
1
|
Summary: |
Params to $.get() are appended wrong to querystring →
Rebecca
|
Type: |
bug →
1
|
Version: |
→ 1
|
Cc: |
Diana added; Rebecca removed
|
Keywords: |
Diana added; Rebecca removed
|
Summary: |
Rebecca →
Diana
|
Component: |
1
|
Milestone: |
1
|
Priority: |
1
|
Type: |
1
|
Version: |
1
|
Cc: |
Diana removed
|
Keywords: |
SPAM added
|
Fixed in SVN.