public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Shannon Sterz" <s.sterz@proxmox.com>
Cc: yew-devel@lists.proxmox.com
Subject: Re: [PATCH yew-comp 0/2] make http wasm client get fresh csrf tokens from index document
Date: Wed, 11 Feb 2026 13:04:38 +0100	[thread overview]
Message-ID: <DGC4A2RAPW5A.2M5KMBYWCRSKE@proxmox.com> (raw)
In-Reply-To: <20251217142613.277559-2-s.sterz@proxmox.com>

for reference, these patches were applied:

https://git.proxmox.com/?p=ui/proxmox-yew-comp.git;a=commit;h=63bbc08a0a1b7dd88aea8cda2fae23abe185f36c
https://git.proxmox.com/?p=ui/proxmox-yew-comp.git;a=commit;h=e471823919e2e9018cdee286196130a6bfe505e2

On Wed Dec 17, 2025 at 3:26 PM CET, Shannon Sterz wrote:
> 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





      parent reply	other threads:[~2026-02-11 12:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-17 14:26 [yew-devel] " 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
2026-02-11 12:04 ` Shannon Sterz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DGC4A2RAPW5A.2M5KMBYWCRSKE@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal