From 7a802970ae3ad01db83b9d7b30d5e35be8f1317e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 2 Oct 2023 21:00:10 +0300 Subject: Relax constraint in upload-bindist by only forbidding leading dots in package-config manifest values --- mod/mod-package-version-details.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/mod-package-version-details.cxx') diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 9befd01..b1729bb 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -635,12 +635,12 @@ handle (request& rq, response& rs) if (ce.ltype () != entry_type::symlink) continue; - // Skip symlinks which have extensions. Note that upload - // handlers may add an extension to a newly created symlink to - // atomically replace an old symlink with the new one. + // Skip the "hidden" symlinks which may potentially be used by + // the upload handlers until they expose the finalized upload + // directory. // const path& cl (ce.path ()); - if (cl.extension_cstring () != nullptr) + if (cl.string () [0] == '.') continue; try -- cgit v1.1