Merge branch 'v2.6.x'
[m6w6/ext-http] / tests / gh-issue47.phpt
index 3378b628f3382ad4912af6cb13fd2ff0d7db254a..29205ecf16f0a8b763da910c8c36bf490ec50707 100644 (file)
@@ -13,7 +13,7 @@ $urls = array(
     "? = ="
 );
 
     "? = ="
 );
 
-$url0=new http\Url($urls[0]);
+$url0=new http\Url($urls[0], null, http\Url::FROM_ENV);
 $url1=$url0->mod($urls[1]);
 
 echo $url1;
 $url1=$url0->mod($urls[1]);
 
 echo $url1;