Skip to content

Conversation

@scudette
Copy link
Contributor

However in certain paths in the filestore (e.g. file uploads in collections) the files are always stored with
PATH_TYPE_FILESTORE_ANY. This meant that uploaded files with the same extension as internal files were mistaken for different filestore paths.

This PR infers the pathspec type from the components list. It carves out directories in the filestore which are untyped. All files stored there will be assigned a PATH_TYPE_FILESTORE_ANY type, regardless of file extension.

However in certain paths in the filestore (e.g. file uploads in
collections) the files are always stored with
PATH_TYPE_FILESTORE_ANY. This meant that uploaded files with the same
extension as internal files were mistaken for different filestore
paths.

This PR infers the pathspec type from the components list. It carves
out directories in the filestore which are untyped. All files stored
there will be assigned a PATH_TYPE_FILESTORE_ANY type, regardless of
file extension.
@scudette scudette merged commit b34d1e3 into master Dec 20, 2025
5 checks passed
@scudette scudette deleted the filestore_path_types branch December 20, 2025 17:31
scudette added a commit that referenced this pull request Dec 23, 2025
…4592)

However in certain paths in the filestore (e.g. file uploads in
collections) the files are always stored with
PATH_TYPE_FILESTORE_ANY. This meant that uploaded files with the same
extension as internal files were mistaken for different filestore paths.

This PR infers the pathspec type from the components list. It carves out
directories in the filestore which are untyped. All files stored there
will be assigned a PATH_TYPE_FILESTORE_ANY type, regardless of file
extension.
scudette added a commit that referenced this pull request Dec 23, 2025
…4592)

However in certain paths in the filestore (e.g. file uploads in
collections) the files are always stored with
PATH_TYPE_FILESTORE_ANY. This meant that uploaded files with the same
extension as internal files were mistaken for different filestore paths.

This PR infers the pathspec type from the components list. It carves out
directories in the filestore which are untyped. All files stored there
will be assigned a PATH_TYPE_FILESTORE_ANY type, regardless of file
extension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants