commit | 163757caa53023d9b35e8b7511d2613744ab74cc | [log] [tgz] |
---|---|---|
author | Peter Kotwicz <pkotwicz@chromium.org> | Mon May 21 01:36:07 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 21 01:36:07 2018 |
tree | 9d7f909c7f19a3d9dca86df009720b3b71374b98 | |
parent | 1dc33c218b41eb6812fe9585b360dacbc533dbeb [diff] |
[Webapp] Don't do any escaping during default scope computation This CL fixes the URL formatting in ShortcutHelper#getScopeFromUrl(). Previously getScopeFromUrl() was decoding then re-encoding the path, which does not round-trip correctly as it encodes characters like '='. This bug was causing the WebAPK to think that the start URL was outside of the scope generated by ShortcutHelper#getScopeFromUrl() and to launch a CCT BUG=840271 TEST=ShortcutHelperTest Change-Id: Ibf63a8b13717c33ce6e8f113d58192a964e53d2d Reviewed-on: https://chromium-review.googlesource.com/1053491 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Reviewed-by: Matt Giuca <mgiuca@chromium.org> Cr-Commit-Position: refs/heads/master@{#560217}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .