Open FastLizard4 opened 10 months ago
Note that there's currently a handful of open PRs that make database changes (#852, #854, and #856) so it's probably best for those to get merged in before working on this (or, alternatively, base any change for this issue on the branch for #856).
This is a https://github.com/enwikipedia-acc/waca/labels/good%20first%20issue candidate, as the change required should be very similar to #713
I won't tag it as such yet due to the other stuff pending.
Currently, the
request.useragent
column in the database is defined asTEXT NOT NULL
, which means that any requests we receive where we don't receive aUser-Agent
HTTP header will cause an exception and fail. Currently we only see this with requests that appear to be fuzzed for automated scanning or similar, but it's still not an ideal behavior.To fix, we should make the
request.useragent
column nullable.