Skip to content

fix: support UTF-8 Basic auth and guard auto-sync - #281

Open
kid1412621 wants to merge 2 commits into
electh:mainfrom
kid1412621:main
Open

kid1412621 wants to merge 2 commits into
electh:mainfrom
kid1412621:main

Conversation

@kid1412621

@kid1412621 kid1412621 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Upstream commit 6fe3f83 already preserves account data and preferences when a session expires. This PR follows up on authentication and sync startup.

  • Encode Basic auth credentials as UTF-8 for both sign-in and API requests, so non-ASCII usernames and passwords work in both paths.
  • Use the shared authentication check before starting auto-sync. An expired account can retain its username after its credentials have been cleared.
  • Extend regression coverage for signing back in with a non-ASCII password and preserving settings and theme after session expiry.

Verification passed locally with npm test (120 tests), npm run lint, and npm run build.

@kid1412621 kid1412621 changed the title fix: prevent settings, configs, and preferences invalidation on session expiration fix: support UTF-8 Basic auth and guard auto-sync Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant