Fixed certified Microsoft moment.
This commit is contained in:
parent
d99562db16
commit
6642ce70c8
2 changed files with 5 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2503.221959
|
||||
0.2503.230108
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
// MultipartFormContent.php
|
||||
// Created: 2025-03-12
|
||||
// Updated: 2025-03-15
|
||||
// Updated: 2025-03-23
|
||||
|
||||
namespace Index\Http\Content;
|
||||
|
||||
|
@ -174,10 +174,10 @@ class MultipartFormContent implements FormContent, Iterator {
|
|||
continue;
|
||||
|
||||
$value = trim($infoParts[1]);
|
||||
if(!str_starts_with($value, '"') || !str_ends_with($value, '"'))
|
||||
continue;
|
||||
if(str_starts_with($value, '"') && str_ends_with($value, '"'))
|
||||
$value = substr($value, 1, -1);
|
||||
|
||||
$info[$name] = urldecode(substr($value, 1, -1));
|
||||
$info[$name] = urldecode($value);
|
||||
}
|
||||
|
||||
return $info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue