tauri/core
Amr Bashir 4c239729c3
fix(core): fix raw invoke body for isolation pattern (#10167)
* fix(core): fix raw invoke body for isolation pattern

The `isolation` pattern requests are made using JSON but the payload could be raw bytes, so we send the original `Content-Type`  from frontend and make sure to deserialize the payload using that one instead of `Content-Type` from request headers

* clippy

* disable plist embed in generate_context in tests

* change file

* docs [skip ci]

* move unused_variables [skip ci]

* last commit regression [skip ci]

* fix test

* add example, do not text encode raw request

* check type instead of contenttype

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:52:53 -03:00
..
tauri fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tauri-acl-schema feat(schema): make acl permissions schema unique (#9999) 2024-06-26 17:13:55 -03:00
tauri-build fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tauri-codegen fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tauri-config-schema enhance!(nsis): use !ifmacrodef for installer hooks (#10177) 2024-07-03 05:48:22 +03:00
tauri-macros fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tauri-plugin fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tauri-runtime feat(macos): support changing title bar style dynamically, close #9763 (#9788) 2024-07-03 05:36:51 +03:00
tauri-runtime-wry fix(runtime-wry): window edge not working after setting resizable false and decorated false dynamically (#10211) 2024-07-08 15:24:55 +03:00
tauri-utils fix(core): fix raw invoke body for isolation pattern (#10167) 2024-07-12 09:52:53 -03:00
tests fix(cli/migrate): tolerate non-UTF-8 in migration (#9457) 2024-04-15 11:39:53 +02:00