Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/StreamWrapper/PrivateStream.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
46 /** | 46 /** |
47 * {@inheritdoc} | 47 * {@inheritdoc} |
48 */ | 48 */ |
49 public function getExternalUrl() { | 49 public function getExternalUrl() { |
50 $path = str_replace('\\', '/', $this->getTarget()); | 50 $path = str_replace('\\', '/', $this->getTarget()); |
51 return $this->url('system.private_file_download', ['filepath' => $path], ['absolute' => TRUE]); | 51 return $this->url('system.private_file_download', ['filepath' => $path], ['absolute' => TRUE, 'path_processing' => FALSE]); |
52 } | 52 } |
53 | 53 |
54 /** | 54 /** |
55 * Returns the base path for private://. | 55 * Returns the base path for private://. |
56 * | 56 * |