Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Apr 7, 2025

Having a equalsign = in your userid is a blocker for federation.

The equal sign is usually filtered during creation of a new user, unless using SSO.

Assuming having an equal sign in your userId/federationId does not bring security issue,
this fix allows remote users with equal sign to be part of the federation.

@ArtificialOwl ArtificialOwl requested review from a team and nickvergessen as code owners April 7, 2025 11:16
@ArtificialOwl ArtificialOwl requested review from artonge, icewind1991 and yemkareems and removed request for a team April 7, 2025 11:16
@ArtificialOwl ArtificialOwl added this to the Nextcloud 32 milestone Apr 7, 2025
@ArtificialOwl ArtificialOwl added the 3. to review Waiting for reviews label Apr 7, 2025
@ArtificialOwl
Copy link
Member Author

/backport to stable31

@ArtificialOwl
Copy link
Member Author

/backport to stable30

@ArtificialOwl
Copy link
Member Author

/backport to stable29

@ArtificialOwl
Copy link
Member Author

/backport to stable28

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Please add a test

@ArtificialOwl ArtificialOwl force-pushed the fix/noid/allows-some-char-from-federationid branch from 8554919 to 00b53b3 Compare April 9, 2025 10:56
@ArtificialOwl
Copy link
Member Author

Please add a test

done!

@ArtificialOwl ArtificialOwl force-pushed the fix/noid/allows-some-char-from-federationid branch from 00b53b3 to 8aac440 Compare April 14, 2025 11:08
@nickvergessen nickvergessen force-pushed the fix/noid/allows-some-char-from-federationid branch from 8aac440 to ca27a54 Compare April 14, 2025 12:44
@ArtificialOwl
Copy link
Member Author

unrelated test failure

@ArtificialOwl ArtificialOwl force-pushed the fix/noid/allows-some-char-from-federationid branch from ca27a54 to 2c0325c Compare April 14, 2025 14:58
@nickvergessen
Copy link
Member

You just force pushed away my added "not-empty test"

@nickvergessen nickvergessen force-pushed the fix/noid/allows-some-char-from-federationid branch from 2c0325c to fb4d0e9 Compare April 14, 2025 15:01
@ArtificialOwl ArtificialOwl force-pushed the fix/noid/allows-some-char-from-federationid branch from fb4d0e9 to 743924c Compare April 22, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants