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

Crashes with certain user agent strings #17

Closed
owenh000 opened this issue Mar 21, 2020 · 1 comment
Closed

Crashes with certain user agent strings #17

owenh000 opened this issue Mar 21, 2020 · 1 comment

Comments

@owenh000
Copy link

Certain user agent strings, such as xxxxxxxxxxxxxxxxxxxxxxxxxxxxbot, crash this app, causing a 500 error for the visitor. Tested with version 1.0.2.

  1. The example string is parsed by python-user-agents as a browser family string that is longer than 30 characters.
  2. A Tracker object is created using that string for the browser field.
  3. A DataError: value too long for type character varying(30) exception is raised.
@jose-lpa
Copy link
Owner

jose-lpa commented Jul 2, 2020

This should have been fixed in PR #24 👍

@jose-lpa jose-lpa closed this as completed Jul 2, 2020
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

No branches or pull requests

2 participants