Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS breaks search index on locally hosted webclient #3306

Closed
4 tasks done
johnbotris opened this issue Jul 21, 2021 · 2 comments
Closed
4 tasks done

CORS breaks search index on locally hosted webclient #3306

johnbotris opened this issue Jul 21, 2021 · 2 comments
Labels
bug broken functionality, usability problems, unexpected errors state:tested We tested it and are about to release it
Milestone

Comments

@johnbotris
Copy link
Contributor

johnbotris commented Jul 21, 2021

We started using the Date header from the server for checking for out-of-sync-ness of entity events. This is causing the search index to break when using a locally hosted web client because we haven't set Access-Control-Expose-Headers: Date. (it also is broken on iOS but that hasn't been released yet)

server issue


Testing

  • Use search index and no error is thrown when trying to access server time from rest client in:
    • ios
    • android
    • desktop
    • locally hosted webclient built against test/prod system
@johnbotris johnbotris added the bug broken functionality, usability problems, unexpected errors label Jul 21, 2021
@johnbotris johnbotris self-assigned this Jul 21, 2021
@johnbotris
Copy link
Contributor Author

will be fixed by server change https://next.tutao.de/gitlab/tuta/tutadb/-/merge_requests/94

@vitoreiji vitoreiji added this to the 3.85.5 milestone Jul 21, 2021
@vitoreiji
Copy link
Contributor

Server change has been merged.

@vitoreiji vitoreiji assigned vitoreiji and unassigned johnbotris Jul 22, 2021
@bedhub bedhub added the state:tested We tested it and are about to release it label Jul 22, 2021
@vitoreiji vitoreiji removed their assignment Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors state:tested We tested it and are about to release it
Projects
None yet
Development

No branches or pull requests

3 participants