Validate the URL parameter in DOM distiller viewer
In chrome-distiller:// URLs, validate the URL parameter by adding its hash as part of the host. This way, changing the URL parameter requires changing the origin as well, so it's harder to be misused. TBR=sky@chromium.org Bug: 991888 Change-Id: Ida641f697d77a2c9c1a93266208a55c0e773aeaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763628 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:David Benjamin <davidben@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#693009}
Showing
Please register or sign in to comment