mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:54:53 -04:00
Avoid redundant URL encoding (#4555)
* Do not double encode fallback redirect URL Signed-off-by: Marcel Fabian Krüger <zauguin@gmail.com>
This commit is contained in:
parent
43c707a010
commit
9f5d206c4a
2 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@ var show_login = function() {
|
|||
$("#loading").hide();
|
||||
|
||||
var this_page = window.location.origin + window.location.pathname;
|
||||
$("#sso_redirect_url").val(encodeURIComponent(this_page));
|
||||
$("#sso_redirect_url").val(this_page);
|
||||
|
||||
if (matrixLogin.serverAcceptsPassword) {
|
||||
$("#password_flow").show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue