When you have a virtual service setup as follows the url gets decoded and sent onto the destination. Is there a way to disable this functionality? or to encode it before its passed onto the destination?
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: proxy-istio
spec:
hosts:
- hostname.com
gateways:
- proxy-istio
http:
- match:
- uri:
prefix: /api
rewrite:
authority: endpoint.com
uri: " "
route:
- destination:
host: endpoint.com
port:
number: 443
looks to be more envoyproxy related but just curious if anyone has come across a solution. I created this github issue: https://github.com/istio/istio/issues/27301