If your
VMware Tanzu Application Service for VMs is released with routing release
.188.x or higher, then URLs with control characters returns the error message "
400 Bad Request: Failed to validate Route Service Signature for x-forwarded-client-cert
".
This issue affects TAS for VMs 2.6.x, 2.7.x, and 2.8.x.
Example
curl -v -k 'https://<url>/status.jsp?sign=%0D'
400 Bad Request: Failed to validate Route Service Signature for x-forwarded-client-cert
Cause
This issue is caused by the dependency bump of the GO library from v1.11.x to v1.12.x introduced in routing release
.188+. GO 1.12.x released with a check for CTRL characters and rejects them from being parsed [0].
[0]
https://github.com/golang/go/commit/829c5df58694b3345cb5ea41206783c8ccf5c3ca