diff --git a/internal/http/services/owncloud/ocdav/report.go b/internal/http/services/owncloud/ocdav/report.go index ad8e1a3743..ef82b63e0f 100644 --- a/internal/http/services/owncloud/ocdav/report.go +++ b/internal/http/services/owncloud/ocdav/report.go @@ -110,163 +110,11 @@ func (s *svc) doSearchFiles(w http.ResponseWriter, r *http.Request, sf *reportSe } data := ` - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/New%20Text%20Document.txt - - - newproject-a!420307062 - newproject-a!616510 - New Text Document.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/New%20text%20file.txt - - - newproject-a!166399624 - newproject-a!616510 - New text file.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 5 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/recover.txt - - - newproject-a!493427700 - newproject-a!616510 - recover.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/test_support.txt - - - newproject-a!420300390 - newproject-a!616510 - test_support.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/testing.txt - - - newproject-a!420300167 - newproject-a!616510 - testing.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/testing2.txt - - - newproject-a!420300326 - newproject-a!616510 - testing2.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/Denied%20Folder/New%20file.txt - - - newproject-a!437033942 - newproject-a!67942728 - New file.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 0 - - HTTP/1.1 200 OK - - - - /remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/test_versions/test.txt - - - newproject-a!506354963 - newproject-a!73758625 - test.txt - 2022-12-05T16:12:20Z - text/plain - SRDNVCKZ - - - - - 9 - - HTTP/1.1 200 OK - - - +/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/New%20Text%20Document.txtnewproject-a!420307062newproject-a!616510New Text Document.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/New%20text%20file.txtnewproject-a!166399624newproject-a!616510New text file.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ5HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/recover.txtnewproject-a!493427700newproject-a!616510recover.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/test_support.txtnewproject-a!420300390newproject-a!616510test_support.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/testing.txtnewproject-a!420300167newproject-a!616510testing.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/testing2.txtnewproject-a!420300326newproject-a!616510testing2.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/Denied%20Folder/New%20file.txtnewproject-a!437033942newproject-a!67942728New file.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ0HTTP/1.1 200 OK/remote.php/dav/files/cboxbot/eos/project/a/awesomeproject/test_versions/test.txtnewproject-a!506354963newproject-a!73758625test.txt2022-12-05T16:12:20Ztext/plainSRDNVCKZ9HTTP/1.1 200 OK ` + w.Header().Set("Content-Type", "application/xml") + w.WriteHeader(http.StatusMultiStatus) w.Write([]byte(data)) - w.WriteHeader(207) return }