From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 94BED1FF0B2 for ; Mon, 24 Aug 2026 09:54:44 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4B3D4213BA; Mon, 24 Aug 2026 09:54:44 +0200 (CEST) From: Dominik Csapak To: yew-devel@lists.proxmox.com Subject: [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum Date: Mon, 24 Aug 2026 09:53:20 +0200 Message-ID: <20260824075440.892286-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.771 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust 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: JRNO6N5NAHAGMEXYST66PAQSSD2HT6HP X-Message-ID-Hash: JRNO6N5NAHAGMEXYST66PAQSSD2HT6HP X-MailFrom: d.csapak@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 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: as this delay is in seconds, and the maximum in the backend is 48 hours, use the same 48 hours limit on the frontend (like in the ExtJS UI). Signed-off-by: Dominik Csapak --- changes from v1: * fixed the u8 -> u32 type so it compiles... src/acme/acme_plugins.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acme/acme_plugins.rs b/src/acme/acme_plugins.rs index 82e97e3..20fec52 100644 --- a/src/acme/acme_plugins.rs +++ b/src/acme/acme_plugins.rs @@ -410,9 +410,9 @@ impl ProxmoxAcmePluginsPanel { let mut panel = panel .with_field( tr!("Validation Delay"), - Number::::new() + Number::::new() .name("validation-delay") - .max(48) + .max(48 * 60 * 60) .placeholder("30"), ) .with_field( -- 2.47.3