Skip to content
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

Truncate user_agent to fit session database column #56

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

acoulton
Copy link
Member

We only store it for debugging / visibility, this was previously happening automatically due to mysql non-strict behaviour but we now need to do it manually to avoid a strict mode error.

@acoulton acoulton requested a review from craig410 October 17, 2023 08:58
Copy link
Member

@craig410 craig410 left a comment

Choose a reason for hiding this comment

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

LGTM

We only store it for debugging / visibility, this was previously
happening automatically due to mysql non-strict behaviour but
we now need to do it manually to avoid a strict mode error.
@acoulton acoulton force-pushed the bug-truncate-session-user-agent branch from c0fa5ab to 6e95262 Compare October 17, 2023 10:48
@acoulton acoulton enabled auto-merge October 17, 2023 10:48
@acoulton acoulton merged commit a81ffb1 into 1.x Oct 17, 2023
4 checks passed
@acoulton acoulton deleted the bug-truncate-session-user-agent branch October 17, 2023 10:48
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