1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-20 19:52:47 +02:00
Commit Graph

1736 Commits

Author SHA1 Message Date
Roland Lammel
4310e90d58 Support Go 1.12 for http.SameSiteNoneMode 2021-01-03 01:09:18 +01:00
Roland Lammel
716eb18329
Handle static routes with trailing slash (#1747)
- Fix Static file route not working without trailing slash
- Add tests for static middleware with/without trailing slash
- Add tests for static middleware under group

Co-authored-by: pwli <lipw0755@gmail.com>
2021-01-03 00:25:29 +01:00
Roland Lammel
0bdb45c583
Merge pull request #1740 from aldas/issue_1720_add_static_middleware_tests
refactor static middleware tests not to use previous case state (#1720)
2021-01-01 18:23:53 +01:00
toimtoimtoim
21f7787202 refactor static middleware tests not to use previous case state 2020-12-29 23:54:29 +02:00
Roland Lammel
6119aecb16
Merge pull request #1735 from aldas/refactor_echo_instance_listener_access
refactor Echo server startup to allow data race free access to listener address
2020-12-29 17:27:12 +01:00
toimtoimtoim
d18c040937 rename mutex 2020-12-29 13:25:43 +02:00
toimtoimtoim
734e313f71 refactor Echo server startup to allow data race free access to listener address 2020-12-29 12:06:49 +02:00
Roland Lammel
b065180250
Merge pull request #1727 from aldas/bind_query_when_get_delete
Bind query params only for HTTP GET/DELETE methods
2020-12-26 00:51:50 +01:00
toimtoimtoim
65ea019530 makefile targets to help local development/testing 2020-12-20 11:06:39 +02:00
toimtoimtoim
4d626c210d c.Bind() uses query params only for GET or DELETE methods. This restores pre v.4.1.11 behavior. 2020-12-20 11:05:42 +02:00
Roland Lammel
936c48a17e
Merge pull request #1725 from lammel/bugfix/conditional-ipv6-tests
Fix failing tests on systems not supporting IPv6
2020-12-18 15:14:59 +01:00
Roland Lammel
e4fe8c8367 Fix failing tests on systems not supporting IPv6 2020-12-18 14:20:36 +01:00
Vadim Sabirov
08073575f8 Merge branch 'master' of https://github.com/labstack/echo 2020-12-18 14:39:23 +03:00
Roland Lammel
829e82165f
Merge pull request #1722 from aldas/revert_pr_1674
Revert #1674 - failing tests
2020-12-17 03:24:01 +01:00
toimtoimtoim
547ca5ca1e reverts #1671 changes 2020-12-17 02:20:26 +02:00
toimtoimtoim
655596b1b9 Revert "Remove group.Use registering Any routes that break other routes"
This reverts commit f72eaa42
2020-12-17 02:01:59 +02:00
toimtoimtoim
628a2df08c Revert "Add a test"
This reverts commit 7a1126fb
2020-12-17 02:01:57 +02:00
Roland Lammel
ea31edbf71
Merge pull request #1681 from aldas/different_bind_methods
Improve default binder with separate methods for binding to query params, route params, request body
2020-12-16 21:12:47 +01:00
Roland Lammel
03ce9b25eb
Merge pull request #1661 from pafuent/fix_router_find_after_invalid_set_param_values
Fixed Router#Find panic an infinite loop
2020-12-16 10:11:25 +01:00
Pablo Andres Fuente
cf002025e6
Merge pull request #1674 from codeocean/group-use-bug
Remove group.Use registering Any routes that break other routes
2020-12-16 01:34:46 -03:00
Pablo Andres Fuente
0482cb3160
Merge pull request #1671 from pwli0755/fix-conflict
Fix Static files route not working
2020-12-16 01:27:09 -03:00
Pablo Andres Fuente
4602335be8
Merge pull request #1689 from pafuent/routing_misses_performance_improvements
Improve router performance with dedicated child types
2020-12-16 00:08:17 -03:00
Pablo Andres Fuente
045bec51d4 Merge branch 'master' into routing_misses_performance_improvements 2020-12-16 01:59:13 +00:00
Pablo Andres Fuente
53653b3df6 Merge branch 'master' into fix_router_find_after_invalid_set_param_values 2020-12-16 01:56:28 +00:00
pwli
2374af470c
Update echo_test.go
fix typo
2020-12-16 09:37:26 +08:00
pwli
89ec0070b8
Merge branch 'master' into fix-conflict 2020-12-16 09:21:26 +08:00
Roland Lammel
4422e3b66b
Merge pull request #1718 from little-cui/master
Fix static directory traversal security vulnerability for Windows
2020-12-15 16:31:52 +01:00
little-cui
1beaf09740 Bug Fix: Directory Traversal 2020-12-15 21:54:11 +08:00
Pablo Andres Fuente
e7741d48b1
Merge pull request #1719 from iambenkay/chore/request-id-test
adds test for request id
2020-12-15 01:32:30 -03:00
iambenkay
1c720597bb adds test for request id
- remain unchanged if provided
2020-12-14 19:06:25 +01:00
Pablo Andres Fuente
71325a6f1e erge branch 'master' into routing_misses_performance_improvements 2020-12-14 03:36:12 +00:00
toimtoimtoim
bd5810f5b5 separate methods to bind only query params, path params, request body 2020-12-13 11:19:05 +02:00
Pablo Andres Fuente
2b36b3d1d7
Merge pull request #1667 from pafuent/listener_network_configurable
Adding Echo#ListenerNetwork as configuration
2020-12-12 17:26:52 -03:00
Roland Lammel
06a9480cb2
Merge pull request #1679 from pafuent/update_benchmark_to_newer_versions
Update README.md with an updated Benchmark
2020-12-12 21:05:06 +01:00
Vadim Sabirov
53b38de143 Merge branch 'master' of https://github.com/labstack/echo 2020-12-11 12:34:52 +03:00
Roland Lammel
194129d070
Merge pull request #1699 from pafuent/improve_decompress_middleware
Adding sync.Pool to Decompress middleware
2020-12-11 10:09:41 +01:00
Roland Lammel
8c27828f11
Merge pull request #1659 from pafuent/panic_router_find_fails_on_params_with_no_root
Fixed panic when Router#Find fails on Param paths
2020-12-10 12:49:55 +01:00
Pablo Andres Fuente
78fe2224b6 Merge branch 'master' into listener_network_configurable 2020-12-10 04:10:13 +00:00
Pablo Andres Fuente
c171855555 Reverting changes on go.sum 2020-12-10 03:41:25 +00:00
Pablo Andres Fuente
f32e33a9d7 Merge branch 'master' into panic_router_find_fails_on_params_with_no_root 2020-12-10 03:39:59 +00:00
Roland Lammel
6caec3032b
Make our stalebot more relaxed
* Use newly added `stale` label for marking for auto-closing
* Ignore issues marked as bug or enhancement for stale marking
* Give more time for auto-closing of stale issue (30d instead of 7d)
2020-12-07 11:23:29 +01:00
Roland Lammel
429a8db01d
Merge pull request #1695 from pafuent/reverse_any_type_routes
Fixing Echo#Reverse for Any type routes
2020-12-06 17:00:23 +01:00
Roland Lammel
ec209b3bb6
Merge pull request #1706 from RashadAnsari/master
Add the ability to change the status code using Response beforeFuncs
2020-12-06 16:53:54 +01:00
Rashad Ansari
0406abe066 Add the ability to change the status code using Response beforeFuncs 2020-12-06 18:31:15 +03:30
Roland Lammel
6a266b8539
Merge pull request #1704 from rkfg/jwt-form
Support form fields in jwt middleware
2020-12-06 15:42:52 +01:00
Vadim Sabirov
dc147d9b97 Fix #1523 by adding secure cookie if SameSite mode is None 2020-12-03 10:21:31 +03:00
Vadim Sabirov
cb15226984 Merge branch 'master' of https://github.com/labstack/echo 2020-12-03 09:43:47 +03:00
Roland Lammel
a908413281
Merge pull request #1701 from lnenad/master
Adds IgnoreBase parameter to static middleware
2020-12-02 16:37:02 +01:00
Roland Lammel
b90e4e8ea1
Merge pull request #1702 from pafuent/increase_number_of_benchmarks_in_comparison_action
Increasing number of benchmarks on GitHub action
2020-12-01 11:24:29 +01:00
Roland Lammel
257547187e
Merge pull request #1703 from pafuent/adding_codecov_configuration
Adding Codecov configuration
2020-12-01 11:24:11 +01:00