diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-03-21 00:36:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 00:36:00 +0100 |
commit | 992a1911d0b6195012edc25fd5a48810d4be64b5 (patch) | |
tree | cf98cb1e6b977f97afca217b0f9d72fff8f65a5e /src/selector/support.js | |
parent | e77bd9d64fc696cadfe1f8c9ebb50d7609a97b07 (diff) | |
download | jquery-992a1911d0b6195012edc25fd5a48810d4be64b5.tar.gz jquery-992a1911d0b6195012edc25fd5a48810d4be64b5.zip |
Ajax: Don't treat array data as binary
PR gh-5197 started treating all non-string non-plain-object
`data` values as binary. However, `jQuery.ajax` also supports
arrays as values of `data`. This change makes regular arrays
no longer be considered binary data.
Surprisingly, we had no tests for array `data` values; otherwise,
we'd detect the issue earlier. This change also adds
a few such missing tests.
Closes gh-5203
Ref gh-5197
Diffstat (limited to 'src/selector/support.js')
0 files changed, 0 insertions, 0 deletions