You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think in this file there is a wrong validator for the values of permanent-redirect and temporal-redirect annotation used.
Reasoning: It should be possible to use variables like "$request_uri" for redirecting to the same path as in the original request for example, but this is blocked by the validation because the $ is not allowed.
If I use a configuration-snippet with the following content, it works fine:
Hi everyone,
I think in this file there is a wrong validator for the values of permanent-redirect and temporal-redirect annotation used.
Reasoning: It should be possible to use variables like "$request_uri" for redirecting to the same path as in the original request for example, but this is blocked by the validation because the $ is not allowed.
If I use a configuration-snippet with the following content, it works fine:
So for me it looks like if
URLWithNginxVariableRegexshould be the correct Regex to be used at this point.