1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-03 15:55:20 -05:00

Routing Context: Fix GetUser() & Use string for Attributes Value

This commit is contained in:
Vigilans
2020-09-13 00:34:35 +08:00
parent e8a27648a1
commit 5a497890e6
5 changed files with 16 additions and 19 deletions

View File

@@ -313,7 +313,7 @@ func TestRoutingRule(t *testing.T) {
},
test: []ruleTest{
{
input: withContent(&session.Content{Protocol: "http/1.1", Attributes: map[string]interface{}{":path": "/test/1"}}),
input: withContent(&session.Content{Protocol: "http/1.1", Attributes: map[string]string{":path": "/test/1"}}),
output: true,
},
},