Преглед изворни кода

Work around poorly configured php

Jordi Boggiano пре 13 година
родитељ
комит
70ad8274cd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Repository/ComposerRepository.php

+ 1 - 1
src/Composer/Repository/ComposerRepository.php

@@ -70,7 +70,7 @@ class ComposerRepository extends ArrayRepository implements NotifiableRepository
             array(
                 'method'  => 'POST',
                 'header'  => 'Content-type: application/x-www-form-urlencoded',
-                'content' => http_build_query($params),
+                'content' => http_build_query($params, '', '&'),
                 'timeout' => 3,
             )
         );