[Webkit-unassigned] [Bug 207016] New: [GTK] http/tests/misc/form-submit-file-cross-site-redirect.html fails with incomplete form data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 30 13:55:57 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=207016

            Bug ID: 207016
           Summary: [GTK]
                    http/tests/misc/form-submit-file-cross-site-redirect.h
                    tml fails with incomplete form data
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com

With b206517 fixed, this test submits the test file metadata correctly (like the non-redirect version) but no payload is sent.


--- /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/form-submit-file-cross-site-redirect-expected.txt
+++ /home/lauro/dev/WebKit/layout-test-results/http/tests/misc/form-submit-file-cross-site-redirect-actual.txt
@@ -2,6 +2,6 @@
 This tests verifies the test file included in the multipart form data:

 PASS: File is present
 PASS: File upload was successful
-PASS: File size is greater than 0
+FAIL: File size is 0



Payload with `var_dump($_FILES['data']);` in the PHP script:

```
array(5) {
  ["name"]=>
  string(8) "test.tmp"
 ["type"]=>
  string(24) "application/octet-stream"
  ["tmp_name"]=>
  string(14) "/tmp/php0dQ3qM"
  ["error"]=>
  int(0)
  ["size"]=>
  int(0)
}
```

Using the original test from Julio in b201950[1] with Minibrowser it seems to work normally.

[1] https://redirection-experiment.herokuapp.com/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200130/40db0848/attachment.htm>


More information about the webkit-unassigned mailing list