miniflux-v2/internal
Thomas J Faughnan Jr 7a03291442 Fix default User-Agent regression
The recent HTTP client refactor in 14e25ab9fe
introduced a bug in which the global default User-Agent is no longer
used for requests. Unless a per-feed User-Agent exists, the Go standard
library's default User-Agent is used, which looks something like
"Go-http-client/1.1". To fix this, make RequestBuilder.WithUserAgent
take an additional argument, the default User-Agent, which will be used
if there is no per-feed User-Agent (i.e. it is an empty string).

Fixes #2188
Fixes #2189
2023-11-18 20:57:47 +01:00
..
api Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
cli Fix error handling and logging issue after refactoring 2023-11-01 19:59:12 +01:00
config Disable WebAuthn by default because it requires to configure the BASE_URL 2023-11-06 20:51:19 +01:00
crypto Add generic webhook integration 2023-09-09 13:11:42 -07:00
database Add WebAuthn / Passkey integration 2023-11-05 18:57:35 +01:00
fever Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
googlereader `user/{userID}/state/com.google/read` is missing in `categories` section for read entries 2023-11-09 12:50:42 +01:00
http Add WebAuthn / Passkey integration 2023-11-05 18:57:35 +01:00
integration Add Category ID to webhooks 2023-11-01 18:02:14 +01:00
locale Add Passkeys French translations 2023-11-05 19:00:34 +00:00
metric Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
model Show number of visible entries instead of number of read entries in feed list 2023-11-08 16:34:27 +01:00
oauth2 Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
proxy Rename internal url package to avoid overlap with net/url 2023-08-13 19:57:04 -07:00
reader Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
storage Show number of visible entries instead of number of read entries in feed list 2023-11-08 16:34:27 +01:00
systemd Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
template Improve WebAuthn buttons layout 2023-11-08 20:23:17 +01:00
tests Add /v1/version endpoint 2023-10-08 15:53:24 -07:00
timezone Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
ui Fix default User-Agent regression 2023-11-18 20:57:47 +01:00
urllib Rename internal url package to avoid overlap with net/url 2023-08-13 19:57:04 -07:00
validator Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
version Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
worker Improve error log message in worker 2023-11-08 19:58:56 +00:00