Skip to content

Conversation

@nickvergessen
Copy link
Member

  • check for token collisions and retry up to three times.
  • abort with an error if maximum token length is reached without finding a unique token.

Backport of #47265

Checklist

@nickvergessen
Copy link
Member Author

/backport to stable29

@nickvergessen
Copy link
Member Author

/backport to stable28

@nickvergessen
Copy link
Member Author

/backport to stable28

@nickvergessen
Copy link
Member Author

/backport to stable27

@nickvergessen
Copy link
Member Author

/backport to stable26

@nickvergessen
Copy link
Member Author

/backport to stable25

- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <[email protected]>
@nickvergessen nickvergessen force-pushed the backport/47265/stable30 branch from 33f7590 to 0551919 Compare September 25, 2024 07:40
Copy link
Contributor

@ernolf ernolf left a comment

Choose a reason for hiding this comment

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

Tested, works!

@nickvergessen nickvergessen requested review from a team, ArtificialOwl, come-nc and yemkareems and removed request for a team September 25, 2024 10:05
@nickvergessen nickvergessen merged commit 5cc1fb9 into stable30 Sep 26, 2024
@nickvergessen nickvergessen deleted the backport/47265/stable30 branch September 26, 2024 10:33
@nickvergessen nickvergessen changed the title [stable30] feat(share): ensure unique share tokens with dynamic length adjustment [stable30] feat(share): ensure unique share tokens Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants