[webkit-changes] [WebKit/WebKit] 322a31: [Curl] Block opening a redirect link to a file URL

Kenji Shukuwa noreply at github.com
Tue Aug 8 13:10:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 322a31dd1fcc9cab0096ec26eae7c33271f25f79
      https://github.com/WebKit/WebKit/commit/322a31dd1fcc9cab0096ec26eae7c33271f25f79
  Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    A LayoutTests/platform/wincairo/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt
    M Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp

  Log Message:
  -----------
  [Curl] Block opening a redirect link to a file URL
https://bugs.webkit.org/show_bug.cgi?id=259638

Reviewed by John Wilander.

After 266403 at main, http/tests/security/redirect-BLOCKED-to-localURL.html
is crashing for Windows. To fix this, block opening a redirect link to
a file URL.

* LayoutTests/platform/wincairo/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt: Added.
* Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp:
(WebKit::NetworkDataTaskCurl::willPerformHTTPRedirection):

Canonical link: https://commits.webkit.org/266696@main




More information about the webkit-changes mailing list