From d516e576ffa7b734c92044f03334535bb8f0ab30 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 15 Sep 2016 09:09:13 -0400 Subject: [PATCH] reworded comment --- platform/chromium/vapi-background.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index a4c524168..bd4e5eb3f 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -241,9 +241,9 @@ vAPI.tabs.registerListeners = function() { var reGoodForWebRequestAPI = /^https?:\/\//; // https://forums.lanik.us/viewtopic.php?f=62&t=32826 - // Chromium-based browsers: sanitize target URL. I've seen - // data: URI-based with newline characters, possibly as a way of - // evading filters. There should be no whitespaces in a data: URI's + // Chromium-based browsers: sanitize target URL. I've seen data: URI with + // newline characters in standard fields, possibly as a way of evading + // filters. As per spec, there should be no whitespaces in a data: URI's // standard fields. var sanitizeURL = function(url) { if ( url.startsWith('data:') === false ) { return url; }