-
Notifications
You must be signed in to change notification settings - Fork 193
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
Handle empty or unknown UA strings #1030
Labels
Comments
(wonder how many bots and scanners this prevented :p) |
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Hm. Changed my mind on how I want to fix that part of the bug. |
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Give it a None default arg, in case it ever gets called without an arg. Always return "unknown" by default. If we get weird results back (i.e., "other"), normalize to "unknown".
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Default None arg. Return "Unknown" by default.
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Default None arg. Return "Unknown" by default. Switch position of "(Tablet)" modifier to come before the version string. Normalize "Other" result to "Unknown" for weird values.
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Default None arg. Return "Unknown" by default. Normalize "Other" to "Unknown" Add tests.
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
Default None arg. Return "Unknown" by default. Switch position of "(Tablet)" modifier to come before the version string. Normalize "Other" result to "Unknown" for weird values.
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 29, 2016
miketaylr
pushed a commit
that referenced
this issue
Apr 30, 2016
miketaylr
pushed a commit
that referenced
this issue
May 2, 2016
miketaylr
pushed a commit
that referenced
this issue
May 2, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To deal with part of #1009.
The text was updated successfully, but these errors were encountered: