Bug Tracker

Modify

Ticket #215 (closed: invalid)

Opened 7 years ago

Last modified 3 years ago

Diana

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

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

comment:1 Changed 7 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN.

comment:2 Changed 7 years ago by joern

  • Priority set to blocker
  • Resolution set to invalid
  • Status changed from reopened to closed
  • Component set to ajax
  • Type set to bug

SPAMPOLICE

comment:3 Changed 7 years ago by Rebecca

  • Cc Rebecca added; "" removed
  • Component changed from ajax to 1
  • Summary changed from Params to $.get() are appended wrong to querystring to Rebecca
  • Priority changed from blocker to 1
  • Version set to 1
  • Milestone set to 1
  • Keywords Rebecca added; get, querysting, ajax removed
  • Type changed from bug to 1

comment:4 Changed 7 years ago by Diana

  • Cc Diana added; Rebecca removed
  • Keywords Diana added; Rebecca removed
  • Summary changed from Rebecca to Diana

comment:6 Changed 3 years ago by snover

  • Priority 1 deleted
  • Type 1 deleted
  • Version 1 deleted
  • Component 1 deleted
  • Milestone 1 deleted

comment:7 Changed 3 years ago by snover

  • Cc Diana removed
  • Keywords Diana,SPAM added; Diana removed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.