nextcloud / nextcloud/fulltextsearch

Wrong link "Go to folder" if installed in subfolder

Open
#367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

4. to release bug
Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Hello,
My nextcloud instance runs in a subfolder of my domain (https://domain.tld/nextcloud/)
The "Go To Folder" link on the search results page ommits the subfolder however and tries to open the folder at https://domain.tld

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the search results page entry point that builds the "Go To Folder" link and trace how the instance base path is handled. Reproduce the issue with an installation at /nextcloud/ and verify that the resulting folder link retains that subfolder instead of targeting the domain root.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.