From 41f8ad957e7b94753affe8a8bb262feac478a66b Mon Sep 17 00:00:00 2001 From: Natasa Bulatovic Date: Fri, 22 Jan 2016 09:40:58 +0100 Subject: [PATCH] Fix for #390 (wrong regex group was used) --- .../java/de/mpg/imeji/presentation/history/HistoryUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/mpg/imeji/presentation/history/HistoryUtil.java b/src/main/java/de/mpg/imeji/presentation/history/HistoryUtil.java index 3c1ee6270..181da4fa5 100644 --- a/src/main/java/de/mpg/imeji/presentation/history/HistoryUtil.java +++ b/src/main/java/de/mpg/imeji/presentation/history/HistoryUtil.java @@ -61,7 +61,7 @@ public static URI extractURI(String url) { m = findProfileId.matcher(url); if (m.find() ) { - return ObjectHelper.getURI(MetadataProfile.class, UrlHelper.decode(m.group(1))); + return ObjectHelper.getURI(MetadataProfile.class, UrlHelper.decode(m.group(2))); } return null;