summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-15 14:45:38 +0100
committerKegan Dougal <kegan@matrix.org>2014-10-15 14:45:38 +0100
commit79bd6e77b8901b47539996c72d22b75d69585383 (patch)
tree5ba3bd4810013c10dd7f79b3f29930cf2c51497e
parentAdd unsanitizedLinky filter to fix links in formatted messages. (diff)
downloadsynapse-79bd6e77b8901b47539996c72d22b75d69585383.tar.xz
Remove warning since the end result is still $sanitize'd
-rw-r--r--webclient/app-filter.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/webclient/app-filter.js b/webclient/app-filter.js
index 654783cb60..39ea1d637d 100644
--- a/webclient/app-filter.js
+++ b/webclient/app-filter.js
@@ -82,9 +82,7 @@ angular.module('matrixWebClient')
     };
 }])
 // Exactly the same as ngSanitize's linky but instead of pushing sanitized
-// text in the addText function, we just push the raw text. This is ONLY SAFE
-// IF THIS IS USED IN CONJUNCTION WITH NG-BIND-HTML which sweeps with $sanitize
-// already.
+// text in the addText function, we just push the raw text.
 .filter('unsanitizedLinky', ['$sanitize', function($sanitize) {
   var LINKY_URL_REGEXP =
         /((ftp|https?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"]/,