diff --git a/panoramapublic/src/org/labkey/panoramapublic/PanoramaPublicNotification.java b/panoramapublic/src/org/labkey/panoramapublic/PanoramaPublicNotification.java index ab9bb47d..b4cc7eb0 100644 --- a/panoramapublic/src/org/labkey/panoramapublic/PanoramaPublicNotification.java +++ b/panoramapublic/src/org/labkey/panoramapublic/PanoramaPublicNotification.java @@ -322,7 +322,7 @@ public static String replaceLinkPlaceholders(@NotNull String text, @NotNull Expe { ActionURL viewMessageUrl = new ActionURL("announcements", "thread", announcementContainer) .addParameter("rowId", announcement.getRowId()); - toReturn = toReturn.replaceAll(PLACEHOLDER_MESSAGE_THREAD_URL, viewMessageUrl.getLocalURIString()); + toReturn = toReturn.replaceAll(PLACEHOLDER_MESSAGE_THREAD_URL, viewMessageUrl.getURIString()); } if (toReturn.contains(PLACEHOLDER_RESPOND_TO_MESSAGE_URL)) { @@ -331,12 +331,12 @@ public static String replaceLinkPlaceholders(@NotNull String text, @NotNull Expe ActionURL respondToMessageUrl = new ActionURL("announcements", "respond", announcementContainer) .addParameter("parentId", announcement.getEntityId()) .addReturnURL(viewMessageUrl); - toReturn = toReturn.replaceAll(PLACEHOLDER_RESPOND_TO_MESSAGE_URL, respondToMessageUrl.getLocalURIString()); + toReturn = toReturn.replaceAll(PLACEHOLDER_RESPOND_TO_MESSAGE_URL, respondToMessageUrl.getURIString()); } if (toReturn.contains(PLACEHOLDER_MAKE_DATA_PUBLIC_URL)) { ActionURL makePublicUrl = PanoramaPublicController.getMakePublicUrl(expAnnotations.getId(), expAnnotations.getContainer()); - toReturn = toReturn.replaceAll(PLACEHOLDER_MAKE_DATA_PUBLIC_URL, makePublicUrl.getLocalURIString()); + toReturn = toReturn.replaceAll(PLACEHOLDER_MAKE_DATA_PUBLIC_URL, makePublicUrl.getURIString()); } return toReturn; }