Skip to content

Commit df98c67

Browse files
Merge branch '6.3' into 6.4
* 6.3: [AssetMapper] Fixing bug where a circular exception could be thrown while making error message Dump Valid constaints on debug command #46544 [DependencyInjection] fix dump xml with array/object/enum default value [HttpFoundation] Add a slightly more verbose comment about a warning on UploadedFile [Messenger] BatchHandlerTrait - fix phpdoc typo [SecurityBundle] Remove unused test files Allow passing an `inline_service` to a `service_locator` [Security] Fix error with lock_factory in login_throttling fix(console): fix section output when multiples section with max height Remove me from CODEOWNERS Fix invalid method call + improve exception message Always return bool from messenger amqp conncetion nack [FrameworkBundle] Fix xsd handle-all-throwables [Console] Fix linewraps in OutputFormatter
2 parents f88645a + 490f003 commit df98c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

File/UploadedFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function __construct(string $path, string $originalName, string $mimeType
7474
* Returns the original file name.
7575
*
7676
* It is extracted from the request from which the file has been uploaded.
77-
* Then it should not be considered as a safe value.
77+
* This should not be considered as a safe value to use for a file name on your servers.
7878
*/
7979
public function getClientOriginalName(): string
8080
{
@@ -85,7 +85,7 @@ public function getClientOriginalName(): string
8585
* Returns the original file extension.
8686
*
8787
* It is extracted from the original file name that was uploaded.
88-
* Then it should not be considered as a safe value.
88+
* This should not be considered as a safe value to use for a file name on your servers.
8989
*/
9090
public function getClientOriginalExtension(): string
9191
{

0 commit comments

Comments
 (0)