Side navigation
#10093 closed feature (fixed)
Opened August 19, 2011 08:58AM UTC
Closed October 16, 2012 03:37PM UTC
Inconsistent behavior of AJAX when url=""
Reported by: | torbasow@inetsys.ru | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | ajax | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When invoking $.ajax() and url is set to "" Fx4+, O9+, GCh13 and S5 substitute current address (document.location.href) but earlier versions of Fx and IE 6-8 (at least) throw error.
I think this behavior should be aligned through browsers.
Sounds okay with me as long as it doesn't cause other issues. Can any falsy value for url (null, undefined, false, "") be replaced for example?