Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeInput ¶
SanitizeInput processes the `haproxy.router.openshift.io/rewrite-target` annotation value for API compatibility while properly handling values with spaces, backslashes, and other special characters. Because the annotation value was initially introduced without being enclosed in single quotes, certain characters were interpreted rather than being treated literally. We later added the single quotes wrapping to resolve OCPBUGS-22739. However, we must still maintain API compatibility after this change: the annotation values MUST be interpreted to the same values after updating to enclose the value in single quotes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.