diff --git a/contributing/code/security.rst b/contributing/code/security.rst index df1d8b58574..0ffb816fff2 100644 --- a/contributing/code/security.rst +++ b/contributing/code/security.rst @@ -103,6 +103,7 @@ Security Advisories This section indexes security vulnerabilities that were fixed in Symfony releases, starting from Symfony 1.0.0: +* May 26, 2015: `CVE-2015-4050: ESI unauthorized access `_ (Symfony 2.3.29, 2.5.12 and 2.6.8) * April 1, 2015: `CVE-2015-2309: Unsafe methods in the Request class `_ (Symfony 2.3.27, 2.5.11 and 2.6.6) * April 1, 2015: `CVE-2015-2308: Esi Code Injection `_ (Symfony 2.3.27, 2.5.11 and 2.6.6) * September 3, 2014: `CVE-2014-6072: CSRF vulnerability in the Web Profiler `_ (Symfony 2.3.19, 2.4.9 and 2.5.4) diff --git a/contributing/documentation/format.rst b/contributing/documentation/format.rst index 1c95b1ea457..ce50f4fc974 100644 --- a/contributing/documentation/format.rst +++ b/contributing/documentation/format.rst @@ -210,7 +210,7 @@ submitting your documentation, follow these steps: * Install Sphinx_; * Install the Sphinx extensions using git submodules: ``$ git submodule update --init``; -* Run ``make html`` and view the generated HTML in the ``build/`` directory. +* Run ``make html`` and view the generated HTML in the ``_build/html`` directory. .. _reStructuredText: http://docutils.sourceforge.net/rst.html .. _Sphinx: http://sphinx-doc.org/ diff --git a/cookbook/console/command_in_controller.rst b/cookbook/console/command_in_controller.rst index 36a7d1e79a9..1b4081c4e3d 100644 --- a/cookbook/console/command_in_controller.rst +++ b/cookbook/console/command_in_controller.rst @@ -45,13 +45,14 @@ Run this command from inside your controller via:: 'command' => 'swiftmailer:spool:send', '--message-limit' => $messages, )); - // our use NullOutput() if you don't need the outpu + // You can use NullOutput() if you don't need the output $output = new BufferedOutput(); $application->run($input, $output); - // return the output + // return the output, don't use if you used NullOutput() $content = $output->fetch(); - + + // return new Response(""), if you used NullOutput() return new Response($content); } } diff --git a/cookbook/deployment/platformsh.rst b/cookbook/deployment/platformsh.rst index 76160b01bf8..de97cd1111b 100644 --- a/cookbook/deployment/platformsh.rst +++ b/cookbook/deployment/platformsh.rst @@ -79,7 +79,8 @@ your Git repository which contains the following files: # .platform/routes.yaml "http://{default}/": type: upstream - upstream: "php:php" + # the first part should be your project name + upstream: "myphpproject:php" .. code-block:: yaml @@ -95,13 +96,13 @@ Configure Database Access ~~~~~~~~~~~~~~~~~~~~~~~~~ Platform.sh overrides your database specific configuration via importing the -following file:: +following file (it's your role to add this file to your code base):: // app/config/parameters_platform.php Welcome to Symfony! + Homepage. {% endblock %} This template is created with `Twig`_, a new template engine created for