Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dom-crawler/Form.php @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 7a779792577d |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
12:7a779792577d | 13:5fb285c0d0e3 |
---|---|
207 $currentParameters = array(); | 207 $currentParameters = array(); |
208 if ($query) { | 208 if ($query) { |
209 parse_str($query, $currentParameters); | 209 parse_str($query, $currentParameters); |
210 } | 210 } |
211 | 211 |
212 $queryString = http_build_query(array_merge($currentParameters, $this->getValues()), null, '&'); | 212 $queryString = http_build_query(array_merge($currentParameters, $this->getValues()), '', '&'); |
213 | 213 |
214 $pos = strpos($uri, '?'); | 214 $pos = strpos($uri, '?'); |
215 $base = false === $pos ? $uri : substr($uri, 0, $pos); | 215 $base = false === $pos ? $uri : substr($uri, 0, $pos); |
216 $uri = rtrim($base.'?'.$queryString, '?'); | 216 $uri = rtrim($base.'?'.$queryString, '?'); |
217 } | 217 } |