New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent cookie overflow #25
Conversation
The module should not store the whole history of viewed products, but only as much as configured.
@daresh PHPStan is failing |
@NeOMakinG why? What is the error? |
QA by dev please |
so when might this get merged and new release made? |
friendly reminder @matks |
Hello ! sorry for late test, with the 8.0.0 feature freeze we've accumulated a lot of PRs to be checked. We're trying to catch up but it's a big pile 😅 |
This fix looks OK for me and tested on my local environment, however there is a technical limitation due to cookie encryption. Cookies are limited to a 4096 length, and if you set the I think we need to validate the configuration to a maximum allowed value like 16 24 or 32 to really fix the problem. What do you think ? |
Thank you @FabienPapet for testing this PR I add "waiting for author" until we have @daresh answer |
I think that's a very good idea to limit the maximum setting for the viewed products. |
@daresh can you add changes to this PR to handle @FabienPapet suggestion? |
There are more and more reports about this issue. I think we should merge it as is and improve it later. What do you think @FabienPapet @matks ? |
Good for me ! |
Great @FabienPapet ! Mathieu @matks ? |
OK 😄 |
Thank you @daresh |
Has been solved? |
The module should not store the whole history of viewed products, but only as much as configured.