Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Relax alphabet restrictions on device IDs #2718

Merged
merged 3 commits into from
May 3, 2024

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented May 3, 2024

I tested with the following device ID: AZaz09._!$()*+,;=:@/-' and checked that

  • the creation in Synapse worked
  • the redirection for /account?action=org.matrix.session_end&device_id=AZaz09._!$()*+,;=:@/-' worked
  • the redirection for /account/devices/AZaz09._!$()*+,;=:@/-' worked
  • the deletion in Synapse worked

It looks like one exception in the characters added to the alphabet is the &, which work for the Synapse creation and deletion, as well as /account/devices/$id, but doesn't for /account/?action=…

Copy link

cloudflare-workers-and-pages bot commented May 3, 2024

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d600810
Status: ✅  Deploy successful!
Preview URL: https://3b37f87d.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-device-id-restricti.matrix-authentication-service-docs.pages.dev

View logs

Copy link
Member

@hughns hughns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@sandhose sandhose merged commit 3ea24dc into main May 3, 2024
16 checks passed
@hughns hughns deleted the quenting/device-id-restrictions branch May 7, 2024 11:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants