> [!CAUTION]
> You are currently viewing version 1.3 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions).

<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">Version 1.3 (unsupported)</button>

- Supported versions:
- [v1.17 (latest)](https://docs.cloud.google.com/apigee/docs/hybrid/v1.17/ts-double-slash.html)
- [v1.16](https://docs.cloud.google.com/apigee/docs/hybrid/v1.16/ts-double-slash.html)
- [v1.15](https://docs.cloud.google.com/apigee/docs/hybrid/v1.15/ts-double-slash.html)
- [v1.14](https://docs.cloud.google.com/apigee/docs/hybrid/v1.14/ts-double-slash.html)
- [List of supported versions](https://docs.cloud.google.com/apigee/docs/hybrid/supported-platforms.md.txt#supported-versions)
- Unsupported versions:
- [v1.13](https://docs.cloud.google.com/apigee/docs/hybrid/v1.13/ts-double-slash.html)
- [v1.12](https://docs.cloud.google.com/apigee/docs/hybrid/v1.12/ts-double-slash.html)
- [v1.11](https://docs.cloud.google.com/apigee/docs/hybrid/v1.11/ts-double-slash.html)
- [v1.10](https://docs.cloud.google.com/apigee/docs/hybrid/v1.10/ts-double-slash.html)
- [v1.9](https://docs.cloud.google.com/apigee/docs/hybrid/v1.9/ts-double-slash.html)
- [v1.8](https://docs.cloud.google.com/apigee/docs/hybrid/v1.8/ts-double-slash.html)
- [v1.7](https://docs.cloud.google.com/apigee/docs/hybrid/v1.7/ts-double-slash.html)
- [v1.6](https://docs.cloud.google.com/apigee/docs/hybrid/v1.6/ts-double-slash.html)
- [v1.5](https://docs.cloud.google.com/apigee/docs/hybrid/v1.5/ts-double-slash.html)
- [v1.4](https://docs.cloud.google.com/apigee/docs/hybrid/v1.4/ts-double-slash.html)
- [v1.3](https://docs.cloud.google.com/apigee/docs/hybrid/v1.3/ts-double-slash.md.txt)
- [v1.2](https://docs.cloud.google.com/apigee/docs/hybrid/v1.2/ts-double-slash.html)
- [v1.1](https://docs.cloud.google.com/apigee/docs/hybrid/v1.1/ts-double-slash.html)

## Problem: double slashes in a request can cause the request not to resolve


Any request that contains a two (or more) consecutive slashes can result in a 404 error. For
example `/hello//world/`. The problem in this example is the "`//`" between
`hello` and `world`.

## Solution: filter for double slashes


Apply a configuration to your Istio ingress to filter for double slashes in requests and
replace them.

1. Create a new configuration file named `apigee-merge-slash-filter.yaml`.
2. Paste the following content into the file:

   ```
   apiVersion: networking.istio.io/v1alpha3
   kind: EnvoyFilter
   metadata:
     name: apigee-merge-slashes
     namespace: istio-system
   spec:
     workloadSelector:
       labels:
         app: istio-ingressgateway
     configPatches:
     - applyTo: NETWORK_FILTER # http connection manager is a filter in Envoy
       match:
         context: GATEWAY
         listener:
           filterChain:
             filter:
               name: "envoy.http_connection_manager"
       patch:
         operation: MERGE
         value:
           typed_config:
             "@type": "type.googleapis.com/envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager"
             merge_slashes: true
   ```
3. Apply the configuration with the following command:

   ```
   kubectl apply -f apigee-merge-slash-filter.yaml
   ```