From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 4D1811FF13B for ; Wed, 11 Feb 2026 13:04:27 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 979581ABC8; Wed, 11 Feb 2026 13:05:12 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Feb 2026 13:04:38 +0100 Message-Id: Subject: Re: [PATCH yew-comp 0/2] make http wasm client get fresh csrf tokens from index document To: "Shannon Sterz" X-Mailer: aerc 0.20.0 References: <20251217142613.277559-2-s.sterz@proxmox.com> In-Reply-To: <20251217142613.277559-2-s.sterz@proxmox.com> From: "Shannon Sterz" X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1770811392765 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.087 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: ABHTWLPO6ZK6TXEFKWSQFEUJ5BH3Z3NC X-Message-ID-Hash: ABHTWLPO6ZK6TXEFKWSQFEUJ5BH3Z3NC X-MailFrom: s.sterz@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: yew-devel@lists.proxmox.com X-Mailman-Version: 3.3.10 Precedence: list List-Id: Yew framework devel list at Proxmox List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: for reference, these patches were applied: https://git.proxmox.com/?p=3Dui/proxmox-yew-comp.git;a=3Dcommit;h=3D63bbc08= a0a1b7dd88aea8cda2fae23abe185f36c https://git.proxmox.com/?p=3Dui/proxmox-yew-comp.git;a=3Dcommit;h=3De471823= 919e2e9018cdee286196130a6bfe505e2 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