Xumin
Xumin
Please update to the latest version to apply the fix.
Thanks for reporting this. We can locate the logic handling the dots [here](https://github.com/Kong/kong-ee/blob/4a8a0a2eb8431e2d7098f5a46170e403fabc5ea8/kong/pdk/log.lua#L681). Maybe we could introduce an escape for the dot. We will discuss this.
This should be easy to fix: for example, we could use % to escape `.` (`"%."` for `.` and `"%%"` for `%`). But this would be a breaking change. This...
> Why use % rather than something more standard such as \ ? `%` is just used to illustrate. To make a choice I will pick a character that is...
It seems the memory and CPU are not the bottleneck in this case. A fair guess is the problem is on IO, and could you share the profile result of...
I believe this is the reason for this bug: https://github.com/Kong/kong/blob/78d45822fb4ec456cf8917b0f830e80ef0559625/kong/router/atc.lua#L390 The code assumes that the first capture must appear if the route matches. It should be easy to fix.
> @StarlightIbuki , could you create a PR to fix it? As this is a relatively simple and not urgent task, I intentionally marked this as a "good first issue",...
I did not think it through when I wrote the original comment. The RFC says: > An origin server might send Vary with a list of fields for two purposes:...
> @StarlightIbuki So do you suggest adding the `Vary` response header while hitting the cache in this PR? We need to add content from the `Vary` header to the list...
> > > @StarlightIbuki So do you suggest adding the `Vary` response header while hitting the cache in this PR? > > > > > > We need to add...