all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [yew-devel] [PATCH yew-comp 0/2] make http wasm client get fresh csrf tokens from index document
@ 2025-12-17 14:26 Shannon Sterz
  2025-12-17 14:26 ` [yew-devel] [PATCH yew-comp 1/2] http wasm client: load csrf token from global Proxmox object Shannon Sterz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shannon Sterz @ 2025-12-17 14:26 UTC (permalink / raw)
  To: yew-devel

this series makes the http wasm client respect the fresher csrf token
in the document index. fixing a bug that would kick out users after
the first non-GET request. for a more detailed explanation see patch
1.

changes since v1:

* split csrf token portion of extract_auth_from_cookie into a separate
  function and add better documentation (thanks @ Thomas Lamprecht)
* add a patch that refactors extract_auth_from_cookie to return a
  ticket and be more efficient and legible.

Shannon Sterz (2):
  http wasm client: load csrf token from global Proxmox object
  http wasm client: refactor extract_auth_from_cookie to return a Ticket

 src/http_client_wasm.rs | 54 ++++++++++++++++++++++++++---------------
 1 file changed, 35 insertions(+), 19 deletions(-)

--
2.47.3



_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-19 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-17 14:26 [yew-devel] [PATCH yew-comp 0/2] make http wasm client get fresh csrf tokens from index document Shannon Sterz
2025-12-17 14:26 ` [yew-devel] [PATCH yew-comp 1/2] http wasm client: load csrf token from global Proxmox object Shannon Sterz
2025-12-17 14:26 ` [yew-devel] [PATCH yew-comp 2/2] http wasm client: refactor extract_auth_from_cookie to return a Ticket Shannon Sterz
2025-12-19 13:14 ` [yew-devel] [PATCH yew-comp 0/2] make http wasm client get fresh csrf tokens from index document Lukas Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal