Skip to content

Remove extraneous prefix in Redis - #58

Merged
tvdijen merged 1 commit into
simplesamlphp:masterfrom
ghalse:patch-redis-bis
Aug 25, 2026
Merged

Remove extraneous prefix in Redis#58
tvdijen merged 1 commit into
simplesamlphp:masterfrom
ghalse:patch-redis-bis

Conversation

@ghalse

@ghalse ghalse commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The implementation in #57 duplicates the prefix, resulting in keys that contain SimpleSAMLphp twice (i.e., SimpleSAMLphpSimpleSAMLphpconsent:foo instead of SimpleSAMLphpconsent:foo). That's because predis automatically applies the prefix, so it doesn't need to be added manually to every key.

While things are functional as they are, anyone looking at the store will see the duplication, and it was not intended. So, before there are too many deployments, I thought to fix it.

@ghalse

ghalse commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

I see the workflow fails because of a rate limit. But phpunit/phpstan/phpcs run cleanly for me. So hopefully I've not introduced anything that breaks @tvdijen's tidy of the original code.

@tvdijen
tvdijen merged commit d3ca5e0 into simplesamlphp:master Aug 25, 2026
11 of 14 checks passed
@tvdijen

tvdijen commented Aug 25, 2026

Copy link
Copy Markdown
Member

I'm aware of the ratelimit-issue, just have to find the time to fix it across ~90 repositories

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.

2 participants