From 48f0678678496766f6dbfed2d8b73d60b2b89850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Lindo?= Date: Thu, 21 Nov 2024 16:43:19 +0000 Subject: [PATCH] Removed double encoding (#429) --- .../common/client/common/visualization/browse/RowPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/databasepreservation/common/client/common/visualization/browse/RowPanel.java b/src/main/java/com/databasepreservation/common/client/common/visualization/browse/RowPanel.java index edb9aec2..e5581ba1 100644 --- a/src/main/java/com/databasepreservation/common/client/common/visualization/browse/RowPanel.java +++ b/src/main/java/com/databasepreservation/common/client/common/visualization/browse/RowPanel.java @@ -74,6 +74,7 @@ import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.SimplePanel; import com.google.gwt.user.client.ui.Widget; +import com.google.gwt.http.client.URL; import config.i18n.client.ClientMessages; @@ -290,7 +291,7 @@ private SafeHtml getForeignKeyHTML(String prefix, Set refs, ViewerRow row) } Hyperlink hyperlink = new Hyperlink(refName, - HistoryManager.linkToForeignKey(database.getUuid(), ref.refTable.getId(), columnNamesAndValues)); + URL.decode(HistoryManager.linkToForeignKey(database.getUuid(), ref.refTable.getId(), columnNamesAndValues))); hyperlink.addStyleName("related-records-link"); b.appendHtmlConstant(hyperlink.toString()); firstRef = false;