fulltextsearch icon indicating copy to clipboard operation
fulltextsearch copied to clipboard

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

Open claucambra opened this issue 2 years ago • 1 comments

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 (https://github.com/nextcloud/desktop/pull/5279), but it would be nice for the clients to not have to implement custom checks for these "incomplete" URLs :)

claucambra avatar Dec 16 '22 13:12 claucambra

Additionally seems like the resource URL is incorrect, see https://github.com/nextcloud/desktop/issues/5511

claucambra avatar Apr 13 '23 07:04 claucambra