
Go to the source code of this file.
Classes | |
| struct | dotdot |
Functions | |
| fail_if (fails,"output mismatched") | |
| for (i=0;i< sizeof(pairs)/sizeof(pairs[0]);i++) | |
| static CURLcode | unit_setup (void) |
| static void | unit_stop (void) |
Variables | |
| int | fails = 0 |
| UNITTEST_START unsigned int | i |
| struct dotdot | pairs [] |
| for | ( | ) |
Definition at line 70 of file unit1395.c.
| static CURLcode unit_setup | ( | void | ) | [static] |
Definition at line 28 of file unit1395.c.
| static void unit_stop | ( | void | ) | [static] |
Definition at line 33 of file unit1395.c.
| int fails = 0 |
Definition at line 46 of file unit1395.c.
| UNITTEST_START unsigned int i |
Definition at line 45 of file unit1395.c.
{
{ "/a/b/c/./../../g", "/a/g" },
{ "mid/content=5/../6", "mid/6" },
{ "/hello/../moo", "/moo" },
{ "/1/../1", "/1" },
{ "/1/./1", "/1/1" },
{ "/1/..", "/" },
{ "/1/.", "/1/" },
{ "/1/./..", "/" },
{ "/1/./../2", "/2" },
{ "/hello/1/./../2", "/hello/2" },
{ "test/this", "test/this" },
{ "test/this/../now", "test/now" },
{ "/1../moo../foo", "/1../moo../foo"},
{ "/../../moo", "/moo"},
{ "/../../moo?andnot/../yay", "/moo?andnot/../yay"},
{ "/123?foo=/./&bar=/../", "/123?foo=/./&bar=/../"},
{ "/../moo/..?what", "/?what" },
{ "/", "/" },
{ "", "" },
{ "/.../", "/.../" },
}
Definition at line 47 of file unit1395.c.