⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 275086 in webkit


Ignore:
Timestamp:
Mar 26, 2021, 2:42:04 AM (5 years ago)
Author:
Carlos Garcia Campos
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):

Location:
releases/WebKitGTK/webkit-2.32/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog

    r275083 r275086  
     12021-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r272301): [SOUP] default port attribute when persisting credential information with libsecret
     4        https://bugs.webkit.org/show_bug.cgi?id=223782
     5
     6        Reviewed by Adrian Perez de Castro.
     7
     8        Use the default port instead of 0 when the URL omits the port.
     9
     10        * platform/network/soup/AuthenticationChallengeSoup.cpp:
     11        (WebCore::protectionSpaceFromSoupAuthAndURL):
     12
    1132021-03-26  Alejandro G. Castro  <alex@igalia.com>
    214
  • releases/WebKitGTK/webkit-2.32/Source/WebCore/platform/network/soup/AuthenticationChallengeSoup.cpp

    r273379 r275086  
    6565    auto host = url.host();
    6666    auto port = url.port();
     67    if (!port)
     68        port = defaultPortForProtocol(url.protocol());
    6769#else
    6870    URL authURL({ }, makeString("http://", soup_auth_get_authority(soupAuth)));
Note: See TracChangeset for help on using the changeset viewer.