Bug Tracker

Ticket #4987 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

wrong url building in case we have a hash

Reported by: Shahen Shabunc Owned by:
Priority: minor Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: hash, get Cc:
Blocking: Blocked by:

Description

if we have a hash in the url we want to pass to $.get, get parrams we'll be serialized incorrectly:

document.location.hash = "test"; jQuery.get(document.location.href,{wrong_get:"shouldn't_be_there"});

 http://dev.jquery.com/report#test?wrong_get=shouldn%27t_be_there

Change History

comment:1 Changed 5 years ago by dmethvin

  • Component changed from unfiled to ajax

comment:2 Changed 5 years ago by dmethvin

  • Milestone changed from 1.4 to 1.4.3

comment:3 Changed 4 years ago by dfens

I don't think that's a real jquery bug. It's possible to remove everything after "#" but url argument depends on developer

comment:4 Changed 4 years ago by john

  • Status changed from new to closed
  • Version changed from 1.3.2 to 1.4.2
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.