Title: [275086] releases/WebKitGTK/webkit-2.32/Source/WebCore
Revision
275086
Author
[email protected]
Date
2021-03-26 02:42:04 -0700 (Fri, 26 Mar 2021)

Log Message

Merge r275085 - REGRESSION(r272301): [SOUP] default port attribute when persisting credential information with libsecret
https://bugs.webkit.org/show_bug.cgi?id=223782

Reviewed by Adrian Perez de Castro.

Use the default port instead of 0 when the URL omits the port.

* platform/network/soup/AuthenticationChallengeSoup.cpp:
(WebCore::protectionSpaceFromSoupAuthAndURL):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog (275085 => 275086)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-03-26 09:37:51 UTC (rev 275085)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-03-26 09:42:04 UTC (rev 275086)
@@ -1,3 +1,15 @@
+2021-03-26  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r272301): [SOUP] default port attribute when persisting credential information with libsecret
+        https://bugs.webkit.org/show_bug.cgi?id=223782
+
+        Reviewed by Adrian Perez de Castro.
+
+        Use the default port instead of 0 when the URL omits the port.
+
+        * platform/network/soup/AuthenticationChallengeSoup.cpp:
+        (WebCore::protectionSpaceFromSoupAuthAndURL):
+
 2021-03-26  Alejandro G. Castro  <[email protected]>
 
         [GTK][WPE] Wrong frame scrolled when view is horizontally scrolled with async scrolling enabled

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/network/soup/AuthenticationChallengeSoup.cpp (275085 => 275086)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/network/soup/AuthenticationChallengeSoup.cpp	2021-03-26 09:37:51 UTC (rev 275085)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/network/soup/AuthenticationChallengeSoup.cpp	2021-03-26 09:42:04 UTC (rev 275086)
@@ -64,6 +64,8 @@
 #if USE(SOUP2)
     auto host = url.host();
     auto port = url.port();
+    if (!port)
+        port = defaultPortForProtocol(url.protocol());
 #else
     URL authURL({ }, makeString("http://", soup_auth_get_authority(soupAuth)));
     auto host = authURL.host();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to