#8591 closed bug (invalid)
`$.get(undefined)` treated wholly differently than `$.ajax(undefined)`) in 1.5.1
Reported by: | 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 ""
.
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
I still can't see why $.get
and $.ajax
should treat an input of undefined
so differently.
Note: See
TracTickets for help on using
tickets.
Garbage in, garbage out. The behavior of
$.get(undefined)
was never documented.