Skip to content

Commit 0d603cb

Browse files
committed
Merge branch '3.4'
* 3.4: added CVE 2017-11365 added URL where to ask for a CVE identifier add missing choices_as_values options fixing bad diff syntax Update usage.rst
2 parents 6472665 + d796eb9 commit 0d603cb

File tree

5 files changed

+18
-13
lines changed

5 files changed

+18
-13
lines changed

contributing/code/security.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ confirmed, the core-team works on a solution following these steps:
2121

2222
#. Send an acknowledgement to the reporter;
2323
#. Work on a patch;
24-
#. Get a CVE identifier from mitre.org;
24+
#. Get a CVE identifier from `mitre.org`_;
2525
#. Write a security announcement for the official Symfony `blog`_ about the
2626
vulnerability. This post should contain the following information:
2727

@@ -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+
* Jul 17, 2017, `CVE-2017-11365: Empty passwords validation issue <https://symfony.com/blog/cve-2017-11365-empty-passwords-validation-issue>`_ (2.7.30, 2.7.31, 2.8.23, 2.8.24, 3.2.10, 3.2.11, 3.3.3, and 3.3.4)
106107
* May 9, 2016: `CVE-2016-2403: Unauthorized access on a misconfigured Ldap server when using an empty password <https://symfony.com/blog/cve-2016-2403-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password>`_ (2.8.0-2.8.5, 3.0.0-3.0.5)
107108
* May 9, 2016: `CVE-2016-4423: Large username storage in session <https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session>`_ (2.3.0-2.3.40, 2.7.0-2.7.12, 2.8.0-2.8.5, 3.0.0-3.0.5)
108109
* January 18, 2016: `CVE-2016-1902: SecureRandom's fallback not secure when OpenSSL fails <https://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails>`_ (2.3.0-2.3.36, 2.6.0-2.6.12, 2.7.0-2.7.8)
@@ -142,3 +143,4 @@ releases, starting from Symfony 1.0.0:
142143
.. _blog: https://symfony.com/blog/
143144
.. _Security Advisories: https://symfony.com/blog/category/security-advisories
144145
.. _`security advisories database`: https://github.com/FriendsOfPHP/security-advisories
146+
.. _`mitre.org`: https://cveform.mitre.org/

form/create_custom_field_type.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ for form fields, which is ``<BundleName>\Form\Type``. Make sure the field extend
3636
'Standard Shipping' => 'standard',
3737
'Expedited Shipping' => 'expedited',
3838
'Priority Shipping' => 'priority',
39-
)
39+
),
40+
'choices_as_values' => true,
4041
));
4142
}
4243

form/dynamic_form_modification.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,10 @@ sport like this::
409409
$positions = null === $sport ? array() : $sport->getAvailablePositions();
410410

411411
$form->add('position', EntityType::class, array(
412-
'class' => 'AppBundle:Position',
412+
'class' => 'AppBundle:Position',
413413
'placeholder' => '',
414-
'choices' => $positions,
414+
'choices' => $positions,
415+
'choices_as_values' => true,
415416
));
416417
}
417418
);
@@ -465,9 +466,10 @@ The type would now look like::
465466
$positions = null === $sport ? array() : $sport->getAvailablePositions();
466467

467468
$form->add('position', EntityType::class, array(
468-
'class' => 'AppBundle:Position',
469+
'class' => 'AppBundle:Position',
469470
'placeholder' => '',
470-
'choices' => $positions,
471+
'choices' => $positions,
472+
'choices_as_values' => true,
471473
));
472474
};
473475

frontend/encore/faq.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ like ``/myAppSubdir``), you just need to configure that when calling ``Encore.se
6666
6767
.setOutputPath('web/build/')
6868
69-
- .setPublicPath('/build')
70-
+ // this is your *true* public path
71-
+ .setPublicPath('/myAppSubdir/build')
69+
- .setPublicPath('/build')
70+
+ // this is your *true* public path
71+
+ .setPublicPath('/myAppSubdir/build')
7272
73-
+ // this is now needed so that your manifest.json keys are still `build/foo.js`
74-
+ // i.e. you won't need to change anything in your Symfony app
75-
+ .setManifestKeyPrefix('build')
73+
+ // this is now needed so that your manifest.json keys are still `build/foo.js`
74+
+ // i.e. you won't need to change anything in your Symfony app
75+
+ .setManifestKeyPrefix('build')
7676
;
7777
7878
If you're :ref:`processing your assets through manifest.json <load-manifest-files>`,

workflow/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ order:
229229
* ``workflow.[workflow name].enter``
230230
* ``workflow.[workflow name].enter.[place name]``
231231

232-
``work.flow.entered``
232+
``workflow.entered``
233233

234234
Similar to ``workflow.enter``, except the marking store is updated before this
235235
event (making it a good place to flush data in Doctrine).

0 commit comments

Comments
 (0)