• rdsmith's avatar
    Fix dictionary domain check problem. · 14fd659a
    rdsmith authored
    Previous to this change, suffixing a "." to the URL from which a
    dictionary was being suggested would allow servers to bypass the
    check against a subdomain (e.g. evil.protected.good.com) setting a
    dictionary to be used by a superdomain (.good.com).
    
    BUG=389451
    R=rsleevi@chromium.org
    
    Review URL: https://codereview.chromium.org/574283006
    
    Cr-Commit-Position: refs/heads/master@{#296246}
    14fd659a
sdch_manager.cc 21 KB