gotosocial/internal/middleware
Daenney 5e368d3089
[bugfix] CSP policy fixes for S3/object storage (#2104)
* [bugfix] CSP policy fixes for S3 in non-proxied mode

* It should be img-src
* In both img-src and media-src we still need to include 'self'
2023-08-12 12:21:48 +02:00
..
cachecontrol.go [bugfix] Set Vary header correctly on cache-control (#1988) 2023-07-13 21:27:25 +02:00
cors.go [chore] Replace pinafore with semaphore (#1801) 2023-05-21 22:40:43 +02:00
extraheaders.go [bugfix] CSP policy fixes for S3/object storage (#2104) 2023-08-12 12:21:48 +02:00
gzip.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
logger.go [bugfix] Overwrite API client closed errors with 499 - Client Closed Request (#1857) 2023-06-02 15:19:43 +02:00
middleware_test.go [bugfix] CSP policy fixes for S3/object storage (#2104) 2023-08-12 12:21:48 +02:00
ratelimit.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
requestid.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
session.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
session_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
signaturecheck.go [performance] retry db queries on busy errors (#2025) 2023-07-25 10:34:05 +02:00
throttling.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
tokencheck.go [performance] remove last of relational queries to instead rely on caches (#2091) 2023-08-10 15:08:41 +01:00
useragent.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00