Skip to content

Commit

Permalink
Test escaped URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeabdullah committed Jun 3, 2014
1 parent b153bab commit 3505542
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions TestKSFileUtilities/URLComponents.testdata
Expand Up @@ -16,5 +16,23 @@
"percentEncodedQuery" : "query",
"fragment" : "fragment",
"percentEncodedFragment" : "fragment"
},
{
"Name" : "Escaped",
"String" : "scheme:\/\/us%C3%A9r:p%C3%A2ssword@h%C3%B4st:0\/p%C3%A0th?q%C3%BCery#fragme%C3%B1t",
"scheme" : "scheme",
"user" : "usér",
"percentEncodedUser" : "us%C3%A9r",
"password" : "pâssword",
"percentEncodedPassword" : "p%C3%A2ssword",
"host" : "hôst",
"percentEncodedHost" : "h%C3%B4st",
"port" : 0,
"path" : "\/pàth",
"percentEncodedPath" : "\/p%C3%A0th",
"query" : "qüery",
"percentEncodedQuery" : "q%C3%BCery",
"fragment" : "fragmeñt",
"percentEncodedFragment" : "fragme%C3%B1t"
}
]

0 comments on commit 3505542

Please sign in to comment.