Sync #14954 clarify use of path template operators with MERGE_SLASHES into Chinese (#14964)

This commit is contained in:
Wilson Wu 2024-04-25 15:19:07 +08:00 committed by GitHub
parent 16b4796314
commit fe8c894946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -47,6 +47,9 @@ Istio 将多个正斜杠合并为单个正斜杠(/)。
例如,路径为 `/some//data///abc` 的请求将被规范化为 `/some/data/abc`
默认情况下,这是禁用的,但可以使用选项 `MERGE_SLASHES` 启用。
如果已启用,路径可能与带有路径模板运算符 `{**}` 的路径不匹配。
例如,一旦启用 `MERGE_SLASHES``/some/data//abc` 将不再与
`/some/data/{**}/abc` 匹配,因为路径将被标准化为 `/some/data/abc`
### 4. 单点和双点(`/./`、`/../` {#4-single-dot-and-double-dots--}