Bug Tracker

Ticket #215 (closed 1: invalid)

Opened 2 years ago

Last modified 2 years ago

Diana

Reported by: tuupola@… Assigned to: anonymous
Type: 1 Priority: 1
Milestone: 1 Component: 1
Version: 1 Keywords: Diana
Cc: Diana Needs:

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

Change History

Changed 2 years ago by joern

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN.

Changed 2 years ago by joern

  • priority set to blocker
  • status changed from reopened to closed
  • component set to ajax
  • resolution set to invalid
  • type set to bug

SPAMPOLICE

Changed 2 years ago by Rebecca

  • cc changed from "" to Rebecca
  • 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 changed from get, querysting, ajax to Rebecca
  • type changed from bug to 1

Changed 2 years ago by Diana

  • keywords changed from Rebecca to Diana
  • cc changed from Rebecca to Diana
  • summary changed from Rebecca to Diana

Changed 2 years ago by http://hometown.aol.de/makehimhard/buy_viagra.html

<a href="http://hometown.aol.de/makehimhard/buy_viagra.html">buy viagra</a> f1ngertest000123

Note: See TracTickets for help on using tickets.