Skip to content

Commit 4410e67

Browse files
committed
Don't double encode
1 parent 48cdccd commit 4410e67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LDK/src/org/labkey/ldk/LDKController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public ModelAndView getView(RunNotificationForm form, BindException errors) thro
385385
sb.append(msg == null ? "The notification did not produce a message" : msg);
386386
}
387387

388-
return new HtmlView(HtmlString.of(sb));
388+
return new HtmlView(HtmlString.unsafe(sb.toString()));
389389
}
390390

391391
@Override
@@ -912,7 +912,7 @@ public ModelAndView getView(Object form, BindException errors) throws Exception
912912
}
913913
catch (URISyntaxException e)
914914
{
915-
return new HtmlView(HtmlString.of("Invalid redirect URL set: " + urlString));
915+
return new HtmlView(HtmlString.unsafe("Invalid redirect URL set: " + urlString));
916916
}
917917
}
918918
}

0 commit comments

Comments
 (0)