Side navigation
#3808 closed bug (fixed)
Opened January 07, 2009 09:58PM UTC
Closed April 16, 2011 03:32PM UTC
Last modified March 14, 2012 12:41PM UTC
$().load() fails 404 if there is a hash in the url
Reported by: | pixeline | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.4.3 |
Component: | ajax | Version: | 1.2.6 |
Keywords: | load,hash,internet,explorer,ajaxrewrite | Cc: | klaus.hartl@stilbuero.de |
Blocked by: | Blocking: |
Description
NB: both 1.2.6 and 1.3 beta 2 are concerned with this bug.
Internet explorer fails to load a url that contains a hash (result: 404).
See: http://pixeline.be/experiments/jquerybeta/test2.html
It does not work in 1.2.6 either.
In my code, i solved it like this:
var href = $(this).attr('href').replace(/#.*/, "");
Attachments (3)
Change History (7)
Changed January 20, 2009 12:58PM UTC by comment:1
cc: | → klaus.hartl@stilbuero.de |
---|
Changed March 04, 2009 02:34PM UTC by comment:2
Pursuant to the discussion on the jQuery-dev mailing list (http://groups.google.com/group/jquery-dev/browse_thread/thread/470f5b95641dd0a7), I've added both the test files and proposed patch to resolve this ticket.
Credit goes to spicyj for enlightening me on the proper placement of fragments within URLs.
Changed October 26, 2010 08:40PM UTC by comment:3
milestone: | 1.3 |
---|---|
priority: | major → low |
status: | new → open |
version: | 1.2.6 → 1.4.3 |
Confirmed; http://jsfiddle.net/rwaldron/d3yWm/2/
Changed December 27, 2010 10:36PM UTC by comment:4
keywords: | load,hash,internet explorer → load,hash,internet,explorer,ajaxrewrite |
---|
Changed April 16, 2011 03:32PM UTC by comment:5
resolution: | → fixed |
---|---|
status: | open → closed |
We do remove the hash segment now.
Changed May 10, 2011 06:22PM UTC by comment:6
What version was this fixed in?
Changed August 11, 2011 07:50PM UTC by comment:7
milestone: | → 1.4.3 |
---|---|
version: | 1.4.3 → 1.2.6 |