From f139404c378464de0c2dacba3085d3ee419a4b1d Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 30 Apr 2020 05:40:44 +0000 Subject: [PATCH] Encode URL's that retrieve images from the internet. --- vasl_templates/webapp/static/vo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vasl_templates/webapp/static/vo.js b/vasl_templates/webapp/static/vo.js index 4227905..79bf512 100644 --- a/vasl_templates/webapp/static/vo.js +++ b/vasl_templates/webapp/static/vo.js @@ -454,7 +454,7 @@ function make_online_counter_image_url( gpid, index ) if ( extn_id ) url = strReplaceAll( url, "{{EXTN_ID}}", extn_id ) ; - return url ; + return encodeURI( url ) ; } function is_small_vasl_piece( vo_entry )