Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full-text search results provided through unified search API do not provide full resource URL #729

Open
claucambra opened this issue Dec 16, 2022 · 1 comment
Labels

Comments

@claucambra
Copy link

claucambra commented Dec 16, 2022

Search results through the unified search API are generally expected to provide a full url that the client applications can open. FTS unfortunately only provides a partial relative url, such as:

/index.php/apps/files/?dir=/Documents/University/Postgraduate-2/Advanced Compiler Techniques/&scrollto=230 Intermediate Rep.pdf

Example of resource URL provided by files:

https://cloud.mycloud.com/index.php/f/1048423

A workaround was easy enough to implement in the desktop client (nextcloud/desktop#5279), but it would be nice for the clients to not have to implement custom checks for these "incomplete" URLs :)

@claucambra
Copy link
Author

Additionally seems like the resource URL is incorrect, see nextcloud/desktop#5511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant