commit | e7a756f7da7803c69234eb71123ab1615eb6dad8 | [log] [tgz] |
---|---|---|
author | tsergeant <[email protected]> | Tue Aug 25 06:05:26 2015 |
committer | Commit bot <[email protected]> | Tue Aug 25 06:06:06 2015 |
tree | 3526609e44b9b936d25c2ae7b34be5f2fd33daa3 | |
parent | 079d10e9639426a6f8044ccba053fe093819300e [diff] |
PDF: Fix issue allowing PDF title to be spoofed The getFilenameFromURL allowed a fragment to be crafted which would modify the title displayed in Material PDF. This CL modifies to function to ignore the URL fragment and query string, preventing this from happening. BUG=524007 Review URL: https://codereview.chromium.org/1311333002 Cr-Commit-Position: refs/heads/master@{#345269}