Repository navigation
fix: apply files_fulltextsearch dotted-UID workaround on app startup - #87
Merged
Merged
Conversation
vitormattos
force-pushed
the
fix/files-fulltextsearch-dotted-uid-hook
branch
from
October 23, 2026 23:47
0dbd2c3 to
39411df
Compare
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
vitormattos
force-pushed
the
fix/files-fulltextsearch-dotted-uid-hook
branch
from
October 23, 2026 23:48
39411df to
2e0c4c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
files_fulltextsearch35.0.0 search-result postprocessor regex-escapes UIDs containing dots before resolving Nextcloud files. The PostgreSQL index can find the document, but the app drops the result. See upstream issue #389 and PR #390.Change
.patchfile.before-startinghook for affected 35.x installations. The hook skips missing apps or already-fixed code, is idempotent, checks patch applicability without fuzz, and runs PHP syntax validation.post-installationwould not work for an already-installed Nextcloud, and app source lives in a persistent volume, not the Docker image.Verification
pilot.dotteduser in isolated Nextcloud 35.0.2 /files_fulltextsearch35.0.0 laboratory: search returned 0 results before, 1 correct file after.php -l,sh -n, andgit diff --checkpassed.No customer document content or credentials are included.