Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 13, 10:30 UTC
Fix tests
Matthew Holt committed
Sep 23, 2022 at 16:47 UTC
e747a9bb12bc644aebce369061a2dc0de567d8d9
5 files changed
+6
-6
caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt
+2
-2
@@ -8,7 +8,7 @@ route {
8
}
9
not path */
10
}
11
- redir @canonicalPath {path}/ 308
11
+ redir @canonicalPath {http.request.orig_uri.path}/ 308
12
13
# If the requested file does not exist, try index files
14
@indexFiles {
@@ -50,7 +50,7 @@ route {
50
"handler": "static_response",
51
"headers": {
52
"Location": [
53
- "{http.request.uri.path}/"
53
+ "{http.request.orig_uri.path}/"
54
]
55
},
56
"status_code": 308
caddytest/integration/caddyfile_adapt/php_fastcgi_handle_response.txt
+1
-1
@@ -42,7 +42,7 @@
42
"handler": "static_response",
43
"headers": {
44
"Location": [
45
- "{http.request.uri.path}/"
45
+ "{http.request.orig_uri.path}/"
46
]
47
},
48
"status_code": 308
caddytest/integration/caddyfile_adapt/php_fastcgi_matcher.txt
+1
-1
@@ -30,7 +30,7 @@ php_fastcgi @api localhost:9000
30
"handler": "static_response",
31
"headers": {
32
"Location": [
33
- "{http.request.uri.path}/"
33
+ "{http.request.orig_uri.path}/"
34
]
35
},
36
"status_code": 308
caddytest/integration/caddyfile_adapt/php_fastcgi_subdirectives.txt
+1
-1
@@ -43,7 +43,7 @@ php_fastcgi localhost:9000 {
43
"handler": "static_response",
44
"headers": {
45
"Location": [
46
- "{http.request.uri.path}/"
46
+ "{http.request.orig_uri.path}/"
47
]
48
},
49
"status_code": 308
caddytest/integration/caddyfile_adapt/php_fastcgi_try_files_override.txt
+1
-1
@@ -46,7 +46,7 @@ php_fastcgi localhost:9000 {
46
"handler": "static_response",
47
"headers": {
48
"Location": [
49
- "{http.request.uri.path}/"
49
+ "{http.request.orig_uri.path}/"
50
]
51
},
52
"status_code": 308