-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Combined log file import fails if user-agent is empty #681
Comments
The problem seems to be that the field is As far as I know, a Was this generated by some common(-ish) software? |
That's a real access log file of nginx, from a real website. Such records are added when user-agent header is present but empty ( |
I could reproduce it like this:
Gave me:
The trick is to have User-Agent header with no value, rather than User-Agent being omitted (e.g. |
Ah, it seems you edited your message. Well, we came to the same conclusion 😅 Mostly just wanted to verify it's not an issue with a custom script or the like. I'll get it fixed. |
goatcounter-v2.4.1
from releases page does not correctly process access log file of combined format if user-agent field is empty, as if without "-", but just "".The text was updated successfully, but these errors were encountered: