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
Copy file name to clipboardExpand all lines: modules/nw-route-specific-annotations.adoc
+14-1
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ The maximum number of IP addresses and CIDR ranges directly visible in the `hapr
51
51
52
52
`Strict`: the browser sends cookies only for same-site requests.
53
53
54
-
`None`: the browser sends cookies for both cross-site and same-site requests.
54
+
`None`: the browser sends cookies for both cross-site and same-site requests.
55
55
56
56
This value is applicable to re-encrypt and edge routes only. For more information, see the link:https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite[SameSite cookies documentation].|
57
57
@@ -188,3 +188,16 @@ The following table provides examples of the path rewriting behavior for various
188
188
|/foo/|/foo/|/|/
189
189
|/foo/|/foo/bar|/|/bar
190
190
|===
191
+
192
+
Certain special characters in `haproxy.router.openshift.io/rewrite-target` require special handling because they must be escaped properly. Refer to the following table to understand how these characters are handled.
193
+
194
+
.Special character handling:
195
+
[cols="3*", options="header"]
196
+
|===
197
+
|For character|Use characters|Notes
198
+
|#|\#|Avoid # because it terminates the rewrite expression
199
+
|%|% or %%|Avoid odd sequences such as %%%
200
+
|‘| \’|Avoid ‘ because it is ignored
201
+
|===
202
+
203
+
All other valid URL characters can be used without escaping.
0 commit comments