Add workaround when IE11 submit corrupted multipart/form-data

This commit is contained in:
Frederic Guillot
2017-01-14 13:44:57 -05:00
parent fe1629e3ea
commit 2cac4c811d
2 changed files with 17 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ class RequestTest extends Base
$request = new Request($this->container, array(), array(), array('myvar' => 'myvalue', 'csrf_token' => $this->container['token']->getCSRFToken()), array(), array());
$this->assertEquals(array('myvar' => 'myvalue'), $request->getValues());
$request = new Request($this->container, array(), array(), array('myvar' => 'myvalue', '-----------------------------7e1c32510025c--' => '', 'csrf_token' => $this->container['token']->getCSRFToken()), array(), array());
$this->assertEquals(array('myvar' => 'myvalue'), $request->getValues());
}
public function testGetFileContent()