File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/integration/security Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ func TestNormalization(t *testing.T) {
5151 meshconfig .MeshConfig_ProxyPathNormalization_NONE ,
5252 []expect {
5353 {"/" , "/" },
54+ {"/app#foo" , "/app" },
5455 {"/app/" , "/app/" },
5556 {"/app/../admin" , "/app/../admin" },
5657 {"/app" , "/app" },
@@ -71,6 +72,7 @@ func TestNormalization(t *testing.T) {
7172 meshconfig .MeshConfig_ProxyPathNormalization_BASE ,
7273 []expect {
7374 {"/" , "/" },
75+ {"/app#foo" , "/app" },
7476 {"/app/" , "/app/" },
7577 {"/app/../admin" , "/admin" },
7678 {"/app" , "/app" },
@@ -91,6 +93,7 @@ func TestNormalization(t *testing.T) {
9193 meshconfig .MeshConfig_ProxyPathNormalization_MERGE_SLASHES ,
9294 []expect {
9395 {"/" , "/" },
96+ {"/app#foo" , "/app" },
9497 {"/app/" , "/app/" },
9598 {"/app/../admin" , "/admin" },
9699 {"/app" , "/app" },
@@ -111,6 +114,7 @@ func TestNormalization(t *testing.T) {
111114 meshconfig .MeshConfig_ProxyPathNormalization_DECODE_AND_MERGE_SLASHES ,
11
56DC
2115 []expect {
113116 {"/" , "/" },
117+ {"/app#foo" , "/app" },
114118 {"/app/" , "/app/" },
115119 {"/app/../admin" , "/admin" },
116120 {"/app" , "/app" },
You can’t perform that action at this time.
0 commit comments