1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00
echo/middleware
Ulas Akdeniz 871ed9c68d Fix incorrect CORS headers
- Fix empty Access-Control-Allow-Origin
- Set CORS headers only if request Origin is existing and allowed
- Increase middleware test coverage
2020-11-06 03:10:16 +01:00
..
basic_auth_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
basic_auth.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
body_dump_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
body_dump.go Fixed comment typo in BodyDump (#1431) 2019-10-30 17:34:27 -07:00
body_limit_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
body_limit.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
compress_test.go Fix flushing in Gzip middleware (#1317) 2019-04-16 15:52:06 -05:00
compress.go make gzipResponseWriter implement http.Pusher (#1615) 2020-08-03 17:58:08 -07:00
cors_test.go Fix incorrect CORS headers 2020-11-06 03:10:16 +01:00
cors.go Fix incorrect CORS headers 2020-11-06 03:10:16 +01:00
csrf_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
csrf.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
jwt_test.go Set maxParam with SetParamNames (#1535) 2020-03-30 12:28:07 -07:00
jwt.go Create ErrJWTInvalid variable 2020-08-27 19:35:45 -03:00
key_auth_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
key_auth.go Fixed #1323 2019-06-09 09:37:21 -07:00
logger_test.go fix #1260 change middleware.Logger's default output (#1336) 2019-07-17 21:34:31 -07:00
logger.go fix #1260 change middleware.Logger's default output (#1336) 2019-07-17 21:34:31 -07:00
method_override_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
method_override.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
middleware.go bugfix proxy and rewrite, updated test with actual call settings 2020-09-16 19:29:22 -07:00
proxy_1_11_n.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
proxy_1_11_test.go Bumped v4.1.11 2019-10-06 17:01:28 -07:00
proxy_1_11.go added ModifyResponse option to ProxyConfig (#1622) 2020-08-27 17:51:27 -07:00
proxy_test.go bugfix proxy and rewrite, updated test with actual call settings 2020-09-16 19:29:22 -07:00
proxy.go bugfix proxy and rewrite, updated test with actual call settings 2020-09-16 19:29:22 -07:00
recover_test.go Fix recover print stack trace log level (#1604) 2020-07-06 07:59:42 -07:00
recover.go Fix recover print stack trace log level (#1604) 2020-07-06 07:59:42 -07:00
redirect_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
redirect.go www redirects are too broad (#1274) 2019-02-15 09:56:58 -08:00
request_id_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
request_id.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
rewrite_test.go bugfix proxy and rewrite, updated test with actual call settings 2020-09-16 19:29:22 -07:00
rewrite.go bugfix proxy and rewrite, updated test with actual call settings 2020-09-16 19:29:22 -07:00
secure_test.go Add ReferrerPolicy to Secure middleware (#1363) 2019-08-01 15:27:09 -07:00
secure.go Add ReferrerPolicy to Secure middleware (#1363) 2019-08-01 15:27:09 -07:00
slash_test.go Simplify code of Add/Remove trailing slash and fix bug (#1275) 2019-02-07 09:49:51 -08:00
slash.go Simplify code of Add/Remove trailing slash and fix bug (#1275) 2019-02-07 09:49:51 -08:00
static_test.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
static.go Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism 2019-01-30 16:11:42 +02:00
util_test.go Set subdomains to AllowOrigins with wildcard (#1301) 2019-03-09 10:32:49 -08:00
util.go Set subdomains to AllowOrigins with wildcard (#1301) 2019-03-09 10:32:49 -08:00