1
0
Fork 0

@seldaek damn your assignment in expression

pull/4454/head
Rob Bast 2015-09-28 10:59:26 +02:00
parent e491b72a8c
commit b219abe8f6
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ class ComposerRepository extends ArrayRepository
} }
// url-encode $ signs in URLs as bad proxies choke on them // url-encode $ signs in URLs as bad proxies choke on them
if ($pos = strpos($filename, '$') && preg_match('{^https?://.*}i', $filename)) { if (($pos = strpos($filename, '$')) && preg_match('{^https?://.*}i', $filename)) {
$filename = substr($filename, 0, $pos) . '%24' . substr($filename, $pos+1); $filename = substr($filename, 0, $pos) . '%24' . substr($filename, $pos+1);
} }