Basic auth requests always set up the filesystem
Open
@provokateurin is already working on this.
Since May 20, 2025.
2. developing
feature: authentication
feature: filesystem
performance 🚀
technical debt
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
ToDo
- remove support for old chunking v1 in Desktop
If a request is authenticated and does not use cookies, it will always set up the filesystem.
The reason is the post-login gc we do:
https://github.com/nextcloud/server/blob/e6d9ef2e38daffcab808eaa41b18ab16c6253b97/lib/base.php#L815-L831
I think it is time to move that to a proper cron job instead. It would potentially clean up chunked upload attempts but there is no need to do this with every successful login?!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.