[webkit-changes] [WebKit/WebKit] cebc10: [SOUP] Do not handle HSTS upgrade as a redirection...

Carlos Garcia Campos noreply at github.com
Tue Apr 11 01:48:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cebc10654f3cbebbc8defbf4bdb4b97cff316c39
      https://github.com/WebKit/WebKit/commit/cebc10654f3cbebbc8defbf4bdb4b97cff316c39
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp

  Log Message:
  -----------
  [SOUP] Do not handle HSTS upgrade as a redirection in case of redirection
https://bugs.webkit.org/show_bug.cgi?id=255218

Reviewed by Adrian Perez de Castro.

We handle HSTS upgrades as a redirection to let Web and UI processes
know about the URL change, but in case of redirection, the new request
is originated in the network process, so we can just update the URL.

* Source/WebKit/NetworkProcess/soup/NetworkDataTaskSoup.cpp:
(WebKit::NetworkDataTaskSoup::protocolUpgradedViaHSTS):

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




More information about the webkit-changes mailing list