Skip to content

Commit

Permalink
Merge branch '3.4' into 4.3
Browse files Browse the repository at this point in the history
* 3.4:
  Add missing use statement
  [Profiler] wording
  X-Accel Nginx URL updated
  ticket-30197 [Validator] Add the missing translations for the Chinese (Taiwan) ("zh_TW") locale
  Fixed test added in #35022
  Use locale_parse for computing fallback locales
  [Console] Fix filtering out identical alternatives when there is a command loader
  • Loading branch information
nicolas-grekas committed Dec 28, 2019
2 parents 9c06bf6 + de7e6cd commit bb19a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BinaryFileResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function prepare(Request $request)
}
if ('x-accel-redirect' === strtolower($type)) {
// Do X-Accel-Mapping substitutions.
// @link http://wiki.nginx.org/X-accel#X-Accel-Redirect
// @link https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/#x-accel-redirect
$parts = HeaderUtils::split($request->headers->get('X-Accel-Mapping', ''), ',=');
foreach ($parts as $part) {
list($pathPrefix, $location) = $part;
Expand Down

0 comments on commit bb19a17

Please sign in to comment.