Skip to content

Commit 6a9a26a

Browse files
committed
Merge branch '2.8'
2 parents d6c5d5b + d16bd3e commit 6a9a26a

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

Diff for: contributing/code/security.rst

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Security Advisories
103103
This section indexes security vulnerabilities that were fixed in Symfony
104104
releases, starting from Symfony 1.0.0:
105105

106+
* May 26, 2015: `CVE-2015-4050: ESI unauthorized access <http://symfony.com/blog/cve-2015-4050-esi-unauthorized-access>`_ (Symfony 2.3.29, 2.5.12 and 2.6.8)
106107
* April 1, 2015: `CVE-2015-2309: Unsafe methods in the Request class <http://symfony.com/blog/cve-2015-2309-unsafe-methods-in-the-request-class>`_ (Symfony 2.3.27, 2.5.11 and 2.6.6)
107108
* April 1, 2015: `CVE-2015-2308: Esi Code Injection <http://symfony.com/blog/cve-2015-2308-esi-code-injection>`_ (Symfony 2.3.27, 2.5.11 and 2.6.6)
108109
* September 3, 2014: `CVE-2014-6072: CSRF vulnerability in the Web Profiler <http://symfony.com/blog/cve-2014-6072-csrf-vulnerability-in-the-web-profiler>`_ (Symfony 2.3.19, 2.4.9 and 2.5.4)

Diff for: contributing/documentation/format.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ submitting your documentation, follow these steps:
210210

211211
* Install Sphinx_;
212212
* Install the Sphinx extensions using git submodules: ``$ git submodule update --init``;
213-
* Run ``make html`` and view the generated HTML in the ``build/`` directory.
213+
* Run ``make html`` and view the generated HTML in the ``_build/html`` directory.
214214

215215
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
216216
.. _Sphinx: http://sphinx-doc.org/

Diff for: cookbook/console/command_in_controller.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@ Run this command from inside your controller via::
4545
'command' => 'swiftmailer:spool:send',
4646
'--message-limit' => $messages,
4747
));
48-
// our use NullOutput() if you don't need the outpu
48+
// You can use NullOutput() if you don't need the output
4949
$output = new BufferedOutput();
5050
$application->run($input, $output);
5151

52-
// return the output
52+
// return the output, don't use if you used NullOutput()
5353
$content = $output->fetch();
54-
54+
55+
// return new Response(""), if you used NullOutput()
5556
return new Response($content);
5657
}
5758
}

Diff for: cookbook/deployment/platformsh.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ your Git repository which contains the following files:
7979
# .platform/routes.yaml
8080
"http://{default}/":
8181
type: upstream
82-
upstream: "php:php"
82+
# the first part should be your project name
83+
upstream: "myphpproject:php"
8384
8485
.. code-block:: yaml
8586
@@ -95,13 +96,13 @@ Configure Database Access
9596
~~~~~~~~~~~~~~~~~~~~~~~~~
9697

9798
Platform.sh overrides your database specific configuration via importing the
98-
following file::
99+
following file (it's your role to add this file to your code base)::
99100

100101
// app/config/parameters_platform.php
101102
<?php
102103
$relationships = getenv("PLATFORM_RELATIONSHIPS");
103-
if (!$relationships) {
104-
return;
104+
if (!$relationships) {
105+
return;
105106
}
106107

107108
$relationships = json_decode(base64_decode($relationships), true);

Diff for: quick_tour/the_big_picture.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ you'll see the following code:
254254
{% extends 'base.html.twig' %}
255255

256256
{% block body %}
257-
<h1>Welcome to Symfony!</h1>
257+
Homepage.
258258
{% endblock %}
259259

260260
This template is created with `Twig`_, a new template engine created for

0 commit comments

Comments
 (0)