default pattern fixes (#963)
* feat(checker): allow png/gif/jpg/jpeg/svg favicons as well as ico * changelog: add updates to keep-internet-working.yaml * fix(checker): tighten default regex patterns for well-known files * changelog: add updates to regular expression patterns in keep-internet-working.yaml --------- Signed-off-by: Elliot Speck <11192354+arcayr@users.noreply.github.com>
This commit is contained in:
parent
100005ce70
commit
87651f9506
2 changed files with 5 additions and 4 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
# Common "keeping the internet working" routes
|
# Common "keeping the internet working" routes
|
||||||
- name: well-known
|
- name: well-known
|
||||||
path_regex: ^/.well-known/.*$
|
path_regex: ^/\.well-known/.*$
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
- name: favicon
|
- name: favicon
|
||||||
path_regex: ^/favicon.(?:ico|png|gif|jpg|jpeg|svg)$
|
path_regex: ^/favicon\.(?:ico|png|gif|jpg|jpeg|svg)$
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
- name: robots-txt
|
- name: robots-txt
|
||||||
path_regex: ^/robots.txt$
|
path_regex: ^/robots\.txt$
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
- name: sitemap
|
- name: sitemap
|
||||||
path_regex: ^/sitemap.xml$
|
path_regex: ^/sitemap\.xml$
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- A standard library HTTP server log message about HTTP pipelining not working has been filtered out of Anubis' logs. There is no action that can be taken about it.
|
- A standard library HTTP server log message about HTTP pipelining not working has been filtered out of Anubis' logs. There is no action that can be taken about it.
|
||||||
- The default `favicon` pattern in `data/common/keep-internet-working.yaml` has been updated to permit requests for png/gif/jpg/svg files as well as ico.
|
- The default `favicon` pattern in `data/common/keep-internet-working.yaml` has been updated to permit requests for png/gif/jpg/svg files as well as ico.
|
||||||
- The `--cookie-prefix` flag has been fixed so that it is fully respected.
|
- The `--cookie-prefix` flag has been fixed so that it is fully respected.
|
||||||
|
- The default patterns in `data/common/keep-internet-working.yaml` have been updated to appropriately escape the '.' character in the regular expression patterns.
|
||||||
|
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue