diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-10-02 21:00:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-10-03 10:31:55 +0300 |
commit | 06d14aee04d9a740c1410103d6f9d0f34726317c (patch) | |
tree | f28eff01b8aad130923e5d5adaf1ec14909f639b /mod | |
parent | cfb25e6ed90cae0bffdfb5ec86348de5f6feaf11 (diff) |
Relax constraint in upload-bindist by only forbidding leading dots in package-config manifest values
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-package-version-details.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 |