diff options
author | 2025-02-11 13:16:14 +0100 | |
---|---|---|
committer | 2025-02-11 13:16:14 +0100 | |
commit | d0de3ad49260ad2f87d02ce1307b1f20e88a1fdf (patch) | |
tree | a4eab190784a8d456226788404a71f263ecbdc49 /vendor/modules.txt | |
parent | [bugfix] Suggest lowercase username when creating via OIDC (#3780) (diff) | |
download | gotosocial-d0de3ad49260ad2f87d02ce1307b1f20e88a1fdf.tar.xz |
[bug] respect `X-Robots-Tag` and `robots.txt` on api/v1/instance and nodeinfo (#3756)
* feat: check X-Robots-Tag
when accessing /api/v1/instance or /nodeinfo endpoints respect
X-Robots-Tag
* chore: go fmt ./...
* Check robots.txt as well, add tests
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'vendor/modules.txt')
-rw-r--r-- | vendor/modules.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/modules.txt b/vendor/modules.txt index 49ca611b2..04314f34f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -412,6 +412,8 @@ github.com/jackc/puddle/v2/internal/genstack # github.com/jessevdk/go-flags v1.5.0 ## explicit; go 1.15 github.com/jessevdk/go-flags +# github.com/jimsmart/grobotstxt v1.0.3 +## explicit; go 1.14 # github.com/jinzhu/inflection v1.0.0 ## explicit github.com/jinzhu/inflection @@ -831,6 +833,9 @@ github.com/tdewolff/parse/v2/strconv # github.com/technologize/otel-go-contrib v1.1.1 ## explicit; go 1.17 github.com/technologize/otel-go-contrib/otelginmetrics +# github.com/temoto/robotstxt v1.1.2 +## explicit; go 1.11 +github.com/temoto/robotstxt # github.com/tetratelabs/wazero v1.8.2 ## explicit; go 1.21 github.com/tetratelabs/wazero |