Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Support user_agent strings longer than 256 Bytes or cut it #61

Closed
swobspace opened this issue Aug 21, 2014 · 2 comments
Closed

Support user_agent strings longer than 256 Bytes or cut it #61

swobspace opened this issue Aug 21, 2014 · 2 comments

Comments

@swobspace
Copy link

We have some users with browsers sending longer user_agent strings as 256 bytes. This results in an Mysql2::Error: Data too long for column 'user_agent' since user_agent is of type string.

Please cut the user_agent at 256 bytes or switch to type text.

@pencil pencil closed this as completed in f9088cc Aug 21, 2014
@pencil
Copy link
Member

pencil commented Aug 21, 2014

Fixed in master. Will release a new version soon.

@swobspace
Copy link
Author

Boah eyh, superfast.
Thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants