From 0e9f962a5eb3903159d421573f1fb545d91074d1 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Fri, 1 Oct 2021 12:19:23 +0200 Subject: [PATCH] fix: do not encode uri # in queiries for POST #2 --- webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl index 44ec8176..81062b49 100644 --- a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl @@ -176,6 +176,8 @@ } if (htmlEncode){ string_query += json_query.field + ":" + value.replace(/[']+/g,'').replace(/#/g,'%23') ; + } else { + string_query += json_query.field + ":" + value.replace(/[']+/g,''); } } return string_query;