Skip to content

Commit

Permalink
0005644: Registration redirect URL does not have query parameters for
Browse files Browse the repository at this point in the history
older versions of SymmetricDS clients
  • Loading branch information
Philip Marzullo committed Dec 29, 2022
1 parent f4fc815 commit 97af317
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ public void handle(HttpServletRequest req, HttpServletResponse res) throws IOExc
node));
}
} catch (RegistrationRedirectException e) {
res.sendRedirect(HttpTransportManager.buildRegistrationUrl(e.getRedirectionUrl(), node));
String redirectedRegistrationURL = HttpTransportManager.buildRegistrationUrl(e.getRedirectionUrl(), node);
if (StringUtils.isNotEmpty(req.getQueryString())) {
redirectedRegistrationURL = redirectedRegistrationURL + "?" + req.getQueryString();
}
res.sendRedirect(redirectedRegistrationURL);
}
}

Expand Down

0 comments on commit 97af317

Please sign in to comment.