mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add feed option to disable HTTP/2 to avoid fingerprinting
This commit is contained in:
parent
420a3d4d95
commit
eae4cb1417
36 changed files with 90 additions and 10 deletions
|
@ -27,6 +27,7 @@ type SubscriptionForm struct {
|
|||
BlocklistRules string
|
||||
KeeplistRules string
|
||||
UrlRewriteRules string
|
||||
DisableHTTP2 bool
|
||||
}
|
||||
|
||||
// Validate makes sure the form values locale.are valid.
|
||||
|
@ -76,5 +77,6 @@ func NewSubscriptionForm(r *http.Request) *SubscriptionForm {
|
|||
BlocklistRules: r.FormValue("blocklist_rules"),
|
||||
KeeplistRules: r.FormValue("keeplist_rules"),
|
||||
UrlRewriteRules: r.FormValue("urlrewrite_rules"),
|
||||
DisableHTTP2: r.FormValue("disable_http2") == "1",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue