Changeset 196653 in webkit


Ignore:
Timestamp:
Feb 16, 2016 1:16:18 PM (8 years ago)
Author:
dbates@webkit.org
Message:

CSP: Disallow an empty host in a host-source source expression
https://bugs.webkit.org/show_bug.cgi?id=153168
<rdar://problem/24383366>

Reviewed by Brent Fulgham.

Source/WebCore:

Merged from Blink (patch by rob@robwu.nl):
<https://src.chromium.org/viewvc/blink?revision=180407&view=revision>

  • page/csp/ContentSecurityPolicySourceList.cpp:

(WebCore::ContentSecurityPolicySourceList::parseSource):

LayoutTests:

Remove entry for test http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
as it now passes.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r196648 r196653  
     12016-02-16  Daniel Bates  <dabates@apple.com>
     2
     3        CSP: Disallow an empty host in a host-source source expression
     4        https://bugs.webkit.org/show_bug.cgi?id=153168
     5        <rdar://problem/24383366>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Remove entry for test http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
     10        as it now passes.
     11
     12        * TestExpectations:
     13
    1142016-02-16  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/LayoutTests/TestExpectations

    r196582 r196653  
    834834webkit.org/b/153166 webkit.org/b/153242 http/tests/security/contentSecurityPolicy/report-and-enforce.html [ Failure ]
    835835webkit.org/b/153166 webkit.org/b/153242 http/tests/security/contentSecurityPolicy/report-blocked-data-uri.html [ Failure ]
    836 webkit.org/b/153168 http/tests/security/contentSecurityPolicy/source-list-parsing-07.html [ Failure ]
    837836webkit.org/b/153170 http/tests/security/contentSecurityPolicy/source-list-parsing-paths-03.html [ Failure ]
    838837http/tests/security/contentSecurityPolicy/script-src-blocked-error-event.html [ Pass Failure ]
  • trunk/Source/WebCore/ChangeLog

    r196651 r196653  
     12016-02-16  Daniel Bates  <dabates@apple.com>
     2
     3        CSP: Disallow an empty host in a host-source source expression
     4        https://bugs.webkit.org/show_bug.cgi?id=153168
     5        <rdar://problem/24383366>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Merged from Blink (patch by rob@robwu.nl):
     10        <https://src.chromium.org/viewvc/blink?revision=180407&view=revision>
     11
     12        * page/csp/ContentSecurityPolicySourceList.cpp:
     13        (WebCore::ContentSecurityPolicySourceList::parseSource):
     14
    1152016-02-16  Brady Eidson  <beidson@apple.com>
    216
  • trunk/Source/WebCore/page/csp/ContentSecurityPolicySourceList.cpp

    r196528 r196653  
    222222                return false;
    223223            if (position == end)
    224                 return true;
     224                return false;
    225225            beginHost = position;
    226226            skipWhile<UChar, isNotColonOrSlash>(position, end);
Note: See TracChangeset for help on using the changeset viewer.