Skip to content

Conversation

@Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Jan 10, 2026

If the user enables statistics-sending in the advanced settings, they will be asked whether they also want to take part in a survey. We use a short ID to then link the survey result to the sent statistics.

However, the survey website didn't like our base64 ids, especially the fact that the id could contain a -. This PR makes it so that the id only contains lowecase letters.

@Hocuri Hocuri force-pushed the hoc/safer-stats-ids branch from b6c4f90 to d70beb3 Compare January 10, 2026 12:40
@Hocuri Hocuri changed the title [WIP] fix: Use only lowercase letters for stats id fix: Use only lowercase letters for stats id Jan 10, 2026
@Hocuri Hocuri added the bug Something is not working label Jan 10, 2026
@Hocuri Hocuri requested review from iequidoo and link2xt January 10, 2026 12:55
@link2xt
Copy link
Collaborator

link2xt commented Jan 10, 2026

But this will not help with existing users who already generated IDs. Can stats ID be encoded instead?

@Hocuri
Copy link
Collaborator Author

Hocuri commented Jan 12, 2026

There are only problems when the user takes the survey, and the user only takes the survey when they enable stats sending. So, there is nothing we can do about users who already turned on stats sending.

@Hocuri Hocuri force-pushed the hoc/safer-stats-ids branch from d70beb3 to 36c6161 Compare January 12, 2026 10:39
If the user enables statistics-sending in the advanced settings, they
will be asked whether they also want to take part in a survey. We use a
short ID to then link the survey result to the sent statistics.

However, the survey website didn't like our base64 ids. This PR makes it
so that the id only contains lowecase letters.
@Hocuri Hocuri force-pushed the hoc/safer-stats-ids branch from 36c6161 to 16014a1 Compare January 12, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is not working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants