Index: openacs-4/packages/general-comments/www/url-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/url-add-2.tcl,v diff -u -r1.8.2.2 -r1.8.2.3 --- openacs-4/packages/general-comments/www/url-add-2.tcl 21 Mar 2023 15:07:56 -0000 1.8.2.2 +++ openacs-4/packages/general-comments/www/url-add-2.tcl 23 Mar 2023 13:56:29 -0000 1.8.2.3 @@ -20,6 +20,11 @@ ad_complain "[_ general-comments.lt_Attaching_links_to_co]" } } + no_data_url { + if {[string match "data:*" [string trim $url]]} { + ad_complain "\[ns_quotehtml $url]\" must not start with 'data:'" + } + } } # authenticate the user