Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Do not create a new NC session everytime the user opens Notes app

Jonathan Klee requested to merge 3117-filter-cookie-test into main

Description

Notes app was creating a new NC session every time it got opened and could create database locks on our servers.

The Notes server APIs have the Cross-Origin Resource Sharing (CORS) flag, so are not able to deal with cookie sessions.

From now one, we don't send the "cookie_test" cookie in the Notes requests so that the server does not create a new session all the time.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/3117

Edited by Jonathan Klee

Merge request reports

Loading