From nobody Wed Jan 22 08:44:39 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YdHgq6WFwz5l8P8; Wed, 22 Jan 2025 08:44:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YdHgq5lpTz4FcJ; Wed, 22 Jan 2025 08:44:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737535479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5NBoVqD8eC6L9iwqf+qrHZjfmTP5s225iAuKvAlKWY=; b=lFF/TwksCapYOHgDUiy9HE96mTAaLfn6j62zp2nIe+cJLdwVfcvgKf61dAAufOoAj0l4/W XzaW0H8kxo4xEcseoJ4L0FLDe8cq3NPIfDgCpZdVpGHR8t0iQP0LqIt7v5oMZp3mPPngMs BK0U9K+XTrenB1MdYZ7X2ezc1dE60FcMB2WSYe+x0IiYExwZbUc0VIsdmzJavtAwwy5TwV Iy/k3pn8fa6zX/JIngakg4Vp7Qg5DrjNZoL7ja3Ro/HS1xtNBu3w/wkv6tX3R8AMfhPYGD gY+AbWdsomVln8mX0bvbe2yu/yEI9UfIy4kWleXujsjg/Jl8WJV3iS3x0yizfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737535479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5NBoVqD8eC6L9iwqf+qrHZjfmTP5s225iAuKvAlKWY=; b=s4cUv7OS/8ISBAbItIa/vxXBQ//7Soz8KAp4QkHMM/1Bdma6RvpvPu7Gfc8x4iaqgsZgjw oJ+pJsXTwbUBagO0UgqQvqAflr9u2JFful60LxoxVV0RyZmzqjgge0dXcBDvc58fC1ZOty v3w+Ohn60G6LF3PvWRYqHfEqgPVqo28z9mCClvwYX5N2yxf2NKIxZK4U431vXVgWeQp3zo HEbOa8zl3NFyP9ohDFi2+ge+4LNVJo3Q7Brfu3svQmemonTxCR9XMmF45DU3D4IlveFPNC MQuQwfpLxx1vHrZ2tz9nDtQLpAsGdl9dVu7R90im9ShofTq2RfSnn2u30RZU8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737535479; a=rsa-sha256; cv=none; b=VTG5W8OhhgHSMygxmFd1rOGK6QOWnLgGuSJqpCejOQN+3KwR5J/xQ9tbQRDNoafpPTK26x IigiCetWK1SDUGDRAlDXnITGml6Hmh9HQjTjGe6qFFz67QBEyERxb1iz/19VK7iNW39J74 QK3wjKVSTK2aMtWCYwwAv5VrDGfUCdkWstUJCvfXrBdQVVGxdRWe2lwo1AEwbxrRu6J+4W SUJC5EdOqJ2VLkI99L0pMq5MLDu6Yps8CcEIO+EEW4LtUe357X/ZpsAbMBWcEJk0+5PKEf Ak0ofdEBaic8+i7ThI1Eal/bHNwMUtpYLMOsSr0guQZxgbIWqpH3uFiDWOX1fQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YdHgq4t8dzmJJ; Wed, 22 Jan 2025 08:44:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50M8id6V044545; Wed, 22 Jan 2025 08:44:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50M8idXs044542; Wed, 22 Jan 2025 08:44:39 GMT (envelope-from git) Date: Wed, 22 Jan 2025 08:44:39 GMT Message-Id: <202501220844.50M8idXs044542@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernhard Froehlich Subject: git: 87fca379df1f - main - www/nginx: Fix handling for hidden files and folders in nginx-dav-ext-module List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: decke X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87fca379df1fc42dd50ac3a6d6eabf801f7ae38d Auto-Submitted: auto-generated The branch main has been updated by decke: URL: https://cgit.FreeBSD.org/ports/commit/?id=87fca379df1fc42dd50ac3a6d6eabf801f7ae38d commit 87fca379df1fc42dd50ac3a6d6eabf801f7ae38d Author: Bernhard Froehlich AuthorDate: 2025-01-22 08:40:48 +0000 Commit: Bernhard Froehlich CommitDate: 2025-01-22 08:40:48 +0000 www/nginx: Fix handling for hidden files and folders in nginx-dav-ext-module PR: 283748 Approved by: joneum@ Obtained from: https://github.com/arut/nginx-dav-ext-module/pull/62 --- www/nginx/files/extra-patch-ngx_http_dav_ext_module.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c b/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c index cf66be99de49..d0ad72394fb3 100644 --- a/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c +++ b/www/nginx/files/extra-patch-ngx_http_dav_ext_module.c @@ -1,5 +1,14 @@ ---- ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2018-12-17 11:45:12.000000000 +0300 -+++ ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2020-03-13 01:20:47.498199000 +0300 +--- ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2018-12-17 11:45:12.000000000 +0300 ++++ ../nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c 2020-03-13 01:20:47.498199000 +0300 +@@ -862,7 +862,7 @@ + name.len = ngx_de_namelen(&dir); + name.data = ngx_de_name(&dir); + +- if (name.data[0] == '.') { ++ if ((name.len == 1 && name.data[0] == '.') || (name.len == 2 && name.data[0] == '.' && name.data[1] == '.')) { + continue; + } + @@ -896,10 +896,9 @@ ngx_cpystrn(last, name.data, name.len + 1);