Skip to main content

Bug Tracker

Side navigation

#4987 closed bug (fixed)

Opened July 28, 2009 11:57AM UTC

Closed September 22, 2010 04:53PM UTC

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:
Blocked by: Blocking:
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

Attachments (0)
Change History (4)

Changed June 13, 2010 01:59PM UTC by dmethvin comment:1

component: unfiledajax

Changed June 15, 2010 03:30AM UTC by dmethvin comment:2

milestone: 1.41.4.3

Changed September 06, 2010 05:32PM UTC by dfens comment:3

I don't think that's a real jquery bug.

It's possible to remove everything after "#" but url argument depends on developer

Changed September 22, 2010 04:53PM UTC by john comment:4

resolution: → fixed
status: newclosed
version: 1.3.21.4.2