themoffster
a54b9b88e5
Fix RemoveRequestParameterGatewayFilterFactory to deal with query params which require encoding ( #1613 )
...
The RemoveRequestParameterGatewayFilterFactory class builds up a new URI once it removes the request parameter outlined in the filter config, however currently expects the remaining
request parameters to all be encoded and the are not.
When the request query params are determined, they are decoded in AbstractServerHttpRequest and are not subsequently encoded again before
the filter builds up the URI.
Currently when the remaining request parameters have a character which requires encoding, you get an "Invalid character ' ' for QUERY_PARAM"
error.
Co-authored-by: Alan Moffat <alan.moffat@ros.gov.uk>
5 years ago
Spencer Gibb
7b1a4ac9e2
Updates docs branches
5 years ago
buildmaster
db2808eee6
Bumping versions
5 years ago
Spencer Gibb
a9284414fd
Merge branch '2.2.x'
5 years ago
Spencer Gibb
98287d530a
Formatting
5 years ago
Spencer Gibb
5d8ef981f3
Removes duplicate entry
5 years ago
Tobias Gies
5f48b1d253
Falls back to unresolved hostname in ForwardedHeadersFilter to prevent NPE.
...
fixes gh-1601
5 years ago
buildmaster
97a87144ff
Bumping versions to 2.2.3.BUILD-SNAPSHOT after release
5 years ago
buildmaster
4404a22ca7
Going back to snapshots
5 years ago
buildmaster
a5e3cb7eb9
Update SNAPSHOT to 2.2.2.RELEASE
5 years ago
Spencer Gibb
7eb929a7c1
Removes deprecations.
...
Fixes gh-698
5 years ago
Spencer Gibb
03300737b5
Adds support for spring.codec.* in modify request body filter.
...
Also adds test for support added in modify response.
Fixes gh-1596
5 years ago
Spencer Gibb
3d2be39670
Adds support for spring.codec.* in modify request body filter.
...
Also adds test for support added in modify response.
Fixes gh-1596
5 years ago
buildmaster
a8a8d545a9
Bumping versions
5 years ago
Spencer Gibb
ad228e611c
Merge branch '2.2.x'
5 years ago
Spencer Gibb
1d241a83d1
Proxy websocket ping frames.
...
fixes gh-729
5 years ago
Spencer Gibb
52c3fd97fe
formatting
5 years ago
Spencer Gibb
b174662f81
Merge branch '2.2.x'
5 years ago
Ruslan Akhundov
3d278e93d2
Adds gzip response modification handling.
...
Fixes gh-1492
Fixes gh-1548
5 years ago
Spencer Gibb
4bd51d46d2
Moves service file from test to main
5 years ago
Spencer Gibb
6b40c68acf
Merge branch '2.2.x'
5 years ago
dcutic
8ba1c06183
Adds support for rate limits bellow 1 req/s
...
Adds requestedTokens configuration option. Previously, this was
hardcoded to 1.
Make the 'requested tokens' redis template argument configurable in
order to allow defining rate limits lower than 1 req/s, e.g. 1 req/m.
This is accomplished by setting:
- replenishRate = requestRate
- burstRate = requestRate * timeSpanInSeconds
- requestedTokens = timeSpanInSeconds
For 1 req/m this would be accomplished by:
- replenishRate = 1
- burstRate = 60
- requestedTokens = 60
fixes gh-1327
5 years ago
Nikita Konev
fc7ed5b0a6
Fixes retry filter retries on all operations when a response timeout occurs.
...
fixes gh-1372
fixes gh-1393
5 years ago
trotman23
35eab962a1
Adds ServiceInstance metadata to RouteDefenition in DiscoveryClientRouteDefenitionLocator.
...
fixes gh-1555
5 years ago
suntiancheng
070c4be396
Adds max initial line length configuration.
...
fixes gh-1554
5 years ago
Tim Ysewyn
3f5c0b26ce
Auto forward upstream headers in mvc and webflux proxy exchange.
...
fixes gh-1183
fixes gh-1193
5 years ago
Spencer Gibb
76c2222d00
Merge branch '2.2.x'
5 years ago
Spencer Gibb
138ea51ec2
formatting
5 years ago
Gaemi
28ae74b58b
Allows RewriteFunction to be applied when no request body.
...
Fixes gh-1309
5 years ago
Stefan_Stus
7eaecedd5e
Calls RewriteFunction even if body is empty.
...
fixes gh-1219
fixes gh-1220
5 years ago
Spencer Gibb
2e890864bd
formatting
5 years ago
Spencer Gibb
05ba82855e
Makes failing on route definition errors opt-out.
...
Since this is a behavior change, the new behavior needs to be opt in.
See gh-1376
5 years ago
MattyA
75a34df7e2
Moves routeId generation schedule to more specific location.
...
This allows only the routeId generation to be on an elastic scheduler
while everything else remains on the main thread.
That way if there are errors loading routes, this will halt execution.
Fixes gh-1574
Fixes gh-1575
5 years ago
owen.q
88be470c9b
Add error handling to invalid RouteDefinition parse
...
- invalid definitions are logged with warn level
fixes gh-1376
fixes gh-1496
5 years ago
echooymxq
fd1763d5b9
Supports timeouts from properties rather than yaml.
...
Fixes gh-1522
5 years ago
Spencer Gibb
6553bce9f6
Fixes test to call proper method.
5 years ago
Gaemi
0ddf816016
Modify newContentType to be reflected in downstream requests in ModifyRequestBodyGatewayFilterFactory
...
Fixes gh-1305
Fixes gh-1306
5 years ago
Spencer Gibb
757abaf5fc
Merge branch '2.2.x'
5 years ago
Alexander Holbreich
356c003260
fixing copy paste error on path_route
...
fixes gh-1581
5 years ago
Adriano Scheffer
7b673a8e87
Lazily test AsyncPredicate for 'and' and 'or' operations.
...
fixes gh-1571
5 years ago
Young Jun Seo
67241a3e6f
Fixed typo
...
fateway -> gateway
fixes gh-1565
5 years ago
Timothy
47f640c915
Adds protected reconstructURI method.
...
Allows URI mapping behavior to be overridden for ReactiveLoadBalancerClientFilter.
Fixes gh-1524
5 years ago
Ingyu Hwang
b017891fe7
Adjust position of AfterRoutePredicateFactory
...
fixes gh-1557
5 years ago
Spencer Gibb
799577edb7
Creates HttpClientCustomizer.
...
This allows users to customize the Reactor Netty HttpClient without loosing auto configuration.
fixes gh-1546
5 years ago
Guy Lewin
60653ee240
Allow HttpClient creation to be customized by subclasses.
...
fixes gh-1577
5 years ago
Spencer Gibb
fd71c30277
Fixes test to check rawquery values.
...
Since https://github.com/joel-costigliola/assertj-core/issues/1699 assertj uses the raw query instead of the encoded one.
fixes gh-1551
5 years ago
Spencer Gibb
27b49a5a7d
Ignores failing RouteToRequestUrlFilterTests.partialEncodedParameters()
...
see gh-1551
5 years ago
Spencer Gibb
269c46f712
Merge branch '2.2.x'
5 years ago
Spencer Gibb
d4f2b6860d
Merge branch '2.1.x' into 2.2.x
5 years ago
Spencer Gibb
2a3389e6a7
Updates CustomBlockHoundIntegration to whitelist more netty
5 years ago