diff --git a/src/p3k/HTTP/Test.php b/src/p3k/HTTP/Test.php index 1e09289..43cb46a 100644 --- a/src/p3k/HTTP/Test.php +++ b/src/p3k/HTTP/Test.php @@ -58,6 +58,8 @@ class Test implements Transport { $parts = parse_url($url); if($parts['path']) { $parts['path'] = '/'.str_replace('/','_',substr($parts['path'],1)); + if($parts['path'] == '/') + $parts['path'] = '/_'; $filepathurl = self::_build_url($parts); }