Skip to content

Commit 6b0db41

Browse files
authored
Adjust redirect handling (#280)
1 parent ccb9af2 commit 6b0db41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ public ModelAndView getView(Object form, BindException errors) throws Exception
908908
if (path.startsWith(AppProps.getInstance().getParsedContextPath()))
909909
path = path.subpath(1, path.size());
910910

911-
throw new RedirectException(AppProps.getInstance().getParsedContextPath() + path.toString(null, null));
911+
throw new RedirectException(new URLHelper(AppProps.getInstance().getParsedContextPath() + path.toString(null, null)));
912912
}
913913
catch (URISyntaxException e)
914914
{

0 commit comments

Comments
 (0)