From patchwork Mon Oct 13 10:48:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9190 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4clYxR4m6Sz3wdV for ; Mon, 13 Oct 2025 10:48:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4clYxR3QYrz3xL for ; Mon, 13 Oct 2025 10:48:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4clYxR2gwmz32fp for ; Mon, 13 Oct 2025 10:48:59 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4clYxN5dX9z2xMK for ; Mon, 13 Oct 2025 10:48:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4clYxM5XVDzD6; Mon, 13 Oct 2025 10:48:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1760352536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tHpiznKMmOEDhMl34/GgXPRug23BZDAZb4oFetIQ/3A=; b=IBwGbrQHuaK3lvKJuvX7QUKqsCNkl4SIAm+cMWA5tzt7BU2jwcJtAlaXMHcBYcAQfRK6mQ nJoMgNr9W9WkvlCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1760352536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tHpiznKMmOEDhMl34/GgXPRug23BZDAZb4oFetIQ/3A=; b=kT2CDmLCHoGLISlMURkqvtKvFu6hgiwRrQhaRMu9DSUhOZ36wZsSe4N7vQymlgh9mb6aA9 5pMC9MARGkf31FxU8VXYWzN9O8xmZ7km2LoOeswSRTkzS5dVc+V9srpypkIMTXDozrSlUJ ArDoLC/LTDaXveb4q4lJ/KQB5Zcr4J9/lcpUyCLjUFFMqoxsWaWYlUktn8ErDU4dnJok7d 6tsw+gAXP0dhQ9jiYBp14I+m7KPtKPyUk2u6AtPc60pyla01IMvS0rkVP6tkC50skV/2q7 o7uXrWoIj03k0L/IV+5Mh3OrjLgfu3ZYVT+5qi8kqyyF9IJDg3pu2DTcG/NmFA== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] wireguard.cgi: disable debbugging modules Date: Mon, 13 Oct 2025 12:48:51 +0200 Message-ID: <20251013104852.25336-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Signed-off-by: Adolf Belka --- html/cgi-bin/wireguard.cgi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index b9661948c..bcb27cf27 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2024 Michael Tremer # +# Copyright (C) 2024-2025 Michael Tremer # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -21,9 +21,10 @@ use strict; -# enable only the following on debugging purpose -use warnings; -use CGI::Carp 'fatalsToBrowser'; +# only enable the following for debugging purposes +#use warnings; +#use CGI::Carp 'fatalsToBrowser'; + use Imager::QRCode; use MIME::Base64;