Side navigation
#8591 closed bug (invalid)
Opened March 22, 2011 05:51PM UTC
Closed March 24, 2011 02:49PM UTC
Last modified March 25, 2011 01:49AM UTC
`$.get(undefined)` treated wholly differently than `$.ajax(undefined)`) in 1.5.1
Reported by: | Már Örlygsson <mar.nospam@anomy.net> | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
the way jQuery.get()
handles undefined
url values, has changed in version 1.5.1
Previously $.get(undefined)
would be treated the same as $.get("")
Since 1.5.1 it's treated as $.get("undefined")
.
However, jQuery.ajax()
's treatment of undefined
URLs is unchanged in 1.5.1 -- they're still resolved to ""
.
Garbage in, garbage out. The behavior of
$.get(undefined)
was never documented.