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
|
<?php
|
||||||
// MultipartFormContent.php
|
// MultipartFormContent.php
|
||||||
// Created: 2025-03-12
|
// Created: 2025-03-12
|
||||||
// Updated: 2025-03-15
|
// Updated: 2025-03-23
|
||||||
|
|
||||||
namespace Index\Http\Content;
|
namespace Index\Http\Content;
|
||||||
|
|
||||||
|
@ -174,10 +174,10 @@ class MultipartFormContent implements FormContent, Iterator {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$value = trim($infoParts[1]);
|
$value = trim($infoParts[1]);
|
||||||
if(!str_starts_with($value, '"') || !str_ends_with($value, '"'))
|
if(str_starts_with($value, '"') && str_ends_with($value, '"'))
|
||||||
continue;
|
$value = substr($value, 1, -1);
|
||||||
|
|
||||||
$info[$name] = urldecode(substr($value, 1, -1));
|
$info[$name] = urldecode($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $info;
|
return $info;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue