Skip to content

Commit

Permalink
fix: Make sure user input is not treated as safe in the oauth view (#…
Browse files Browse the repository at this point in the history
…1978)

Co-authored-by: Glenn Schuurman <[email protected]>
Co-authored-by: Daniel Vaz Gaspar <[email protected]>
  • Loading branch information
3 people authored Feb 1, 2023
1 parent 1e1c354 commit 3d17741
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript">
var baseLoginUrl = "{{appbuilder.get_url_for_login}}";
var baseRegisterUrl = "{{appbuilder.get_url_for_login}}";
var next = "?next=" + encodeURIComponent("{{request.args.get('next', '') | safe}}");
var next = "?next=" + encodeURIComponent("{{request.args.get('next', '')}}");

function signin(provider) {
window.location.href = baseLoginUrl + provider + next;
Expand Down

0 comments on commit 3d17741

Please sign in to comment.