diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-12-21 20:15:15 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-12-21 21:49:10 +0100 |
commit | bc74a44cbc7ce5b80e66d5b68eb32b50d1357950 (patch) | |
tree | 80083004db2cbdc0451cacf0d10ebde0d3856300 /lib/public | |
parent | 4566670fa38c64fff020fe012e2bd33254f55b07 (diff) | |
download | nextcloud-server-bc74a44cbc7ce5b80e66d5b68eb32b50d1357950.tar.gz nextcloud-server-bc74a44cbc7ce5b80e66d5b68eb32b50d1357950.zip |
Fix opening search results for comments
"OC.dirname" removes everything after the last "/", so a path without
slashes is returned without changes. "result.path" does not include
leading nor trailing "/", so when the path is for a file or folder in
the base folder "OC.dirname(result.path)" returns "result.path".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/public')
0 files changed, 0 insertions, 0 deletions