[Bug]: Cookies are saved in the configuration directory.
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 123
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
Cookies are saved in the configuration directory.
The issue is similar to #3406 but for cookies.
### Steps to reproduce
1. Login into the app
2. Start sync
3. Visit configuration directory
4. File
### Expected behavior
File should go to the cache directory for example such as XDG_CACHE_HOME on XDG-platforms such as Linux.
### Which files are affected by this bug
cookies0.db
### Operating system
Linux
### Which version of the operating system you are running.
Arch Linux
### Package
Distro package manager
### Nextcloud Server version
not relevant
### Nextcloud Desktop Client version
3.6.2
### Is this bug present after an update or on a fresh install?
Fresh desktop client install
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [X] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
_No response_
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.