diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-05-30 10:57:41 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-05-30 12:56:41 +0200 |
commit | 06674ca8e752496c17032e62f428a47c676892df (patch) | |
tree | 6802cda7492620d4f902e36dc20d37bbf174abec /qutebrowser/config/configdata.yml | |
parent | 997f7cd9a8442acafb7f589793e7182110a0d720 (diff) | |
download | qutebrowser-06674ca8e752496c17032e62f428a47c676892df.tar.gz qutebrowser-06674ca8e752496c17032e62f428a47c676892df.zip |
Validate encoding for header settings
Also needed to add encoding check support to FormatString.
(cherry picked from commit 996487c43e4fcc265b541f9eca1e7930e3c5cf05)
Diffstat (limited to 'qutebrowser/config/configdata.yml')
-rw-r--r-- | qutebrowser/config/configdata.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index b8c2990c9..de2d5a039 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -582,6 +582,7 @@ content.headers.accept_language: type: name: String none_ok: true + encoding: ascii supports_pattern: true default: en-US,en;q=0.9 desc: >- @@ -643,6 +644,7 @@ content.headers.user_agent: Safari/{webkit_version}' type: name: FormatString + encoding: ascii fields: - os_info - webkit_version |