Skip to content

Commit

Permalink
Merge 2c2b359 into a6453a6
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Aug 18, 2021
2 parents a6453a6 + 2c2b359 commit f6f8998
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public class TokenController {
@RequestMapping("/token")
public RedirectView token(@RequestParam Map<String, String> params, @RequestHeader Map<String, String> headers) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, URISyntaxException {
LOG.debug("params: " + params);
String referrer = params.get("referrer");
String referrer = params.get("referrer")
.replace(" ", "%20");
if (referrer == null) {
LOG.error("No referrer in params!!");
throw new RuntimeException("No referrer in params!!");
Expand Down

0 comments on commit f6f8998

Please sign in to comment.