下表显示了不同的 URL 规范化设置 在请求 URL 传递给其他 Cloudflare 功能和源站服务器之前,如何对其产生影响:
| 传入 URL | 规范化类型 | 规范化传入 URL | 规范化 URL 到源站 | Cloudflare 网络上的 URL | 传递给源站服务器的 URL |
|---|---|---|---|---|---|
www.example.com/hello |
(任何) | 关 | 关 | www.example.com/hello |
www.example.com/hello |
www.example.com/hello |
(任何) | 开 | 关 | www.example.com/hello |
www.example.com/hello |
www.example.com/hello |
(任何) | 开 | 开 | www.example.com/hello |
www.example.com/hello |
example.com/%68ello |
(任何) | 关 | 关 | example.com/%68ello |
example.com/%68ello |
example.com/%68ello |
(任何) | 开 | 关 | example.com/hello |
example.com/%68ello |
example.com/%68ello |
(任何) | 开 | 开 | example.com/hello |
example.com/hello |
example.com/%68ello//pa\th |
RFC-3986 | 关 | 关 | example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
RFC-3986 | 开 | 关 | example.com/hello//pa%5Cth |
example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
RFC-3986 | 开 | 开 | example.com/hello//pa%5Cth |
example.com/hello//pa%5Cth |
example.com/%68ello//pa\th |
Cloudflare | 关 | 关 | example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
Cloudflare | 开 | 关 | example.com/hello/pa/th |
example.com/%68ello//pa\th |
example.com/%68ello//pa\th |
Cloudflare | 开 | 开 | example.com/hello/pa/th |
example.com/hello/pa/th |
example.com/hello//../path |
RFC-3986 | 开 | 开 | example.com/hello/path |
example.com/hello/path |
example.com/hello//../path |
Cloudflare | 开 | 开 | example.com/path |
example.com/path |
example.com/hello/\../path |
RFC-3986 | 开 | 开 | example.com/hello/%5C../path |
example.com/hello/%5C../path |
example.com/hello/\../path |
Cloudflare | 开 | 开 | example.com/path |
example.com/path |