mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
@@ -47,6 +47,18 @@ func TestCleanPath(t *testing.T) {
|
||||
"/single/{id:uint64}",
|
||||
"/single/{id:uint64}",
|
||||
},
|
||||
{
|
||||
"0\\\\\\0",
|
||||
"/0/0",
|
||||
},
|
||||
{
|
||||
"*\\*\\*",
|
||||
"/*/*/*",
|
||||
},
|
||||
{
|
||||
"\\",
|
||||
"/",
|
||||
},
|
||||
}
|
||||
|
||||
for i, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user