@@ -322,7 +322,7 @@ public static String replaceLinkPlaceholders(@NotNull String text, @NotNull Expe
322322 {
323323 ActionURL viewMessageUrl = new ActionURL ("announcements" , "thread" , announcementContainer )
324324 .addParameter ("rowId" , announcement .getRowId ());
325- toReturn = toReturn .replaceAll (PLACEHOLDER_MESSAGE_THREAD_URL , viewMessageUrl .getLocalURIString ());
325+ toReturn = toReturn .replaceAll (PLACEHOLDER_MESSAGE_THREAD_URL , viewMessageUrl .getURIString ());
326326 }
327327 if (toReturn .contains (PLACEHOLDER_RESPOND_TO_MESSAGE_URL ))
328328 {
@@ -331,12 +331,12 @@ public static String replaceLinkPlaceholders(@NotNull String text, @NotNull Expe
331331 ActionURL respondToMessageUrl = new ActionURL ("announcements" , "respond" , announcementContainer )
332332 .addParameter ("parentId" , announcement .getEntityId ())
333333 .addReturnURL (viewMessageUrl );
334- toReturn = toReturn .replaceAll (PLACEHOLDER_RESPOND_TO_MESSAGE_URL , respondToMessageUrl .getLocalURIString ());
334+ toReturn = toReturn .replaceAll (PLACEHOLDER_RESPOND_TO_MESSAGE_URL , respondToMessageUrl .getURIString ());
335335 }
336336 if (toReturn .contains (PLACEHOLDER_MAKE_DATA_PUBLIC_URL ))
337337 {
338338 ActionURL makePublicUrl = PanoramaPublicController .getMakePublicUrl (expAnnotations .getId (), expAnnotations .getContainer ());
339- toReturn = toReturn .replaceAll (PLACEHOLDER_MAKE_DATA_PUBLIC_URL , makePublicUrl .getLocalURIString ());
339+ toReturn = toReturn .replaceAll (PLACEHOLDER_MAKE_DATA_PUBLIC_URL , makePublicUrl .getURIString ());
340340 }
341341 return toReturn ;
342342 }
0 commit comments