mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-05-18 21:41:54 +00:00
Improve template URI escaping and parameter handling
This commit is contained in:
@@ -193,7 +193,7 @@ $(window).scroll(function() {
|
||||
});
|
||||
// Select language and reopen active URL without POST
|
||||
function setLang(sel) {
|
||||
$.post( '{{ uri }}', {lang: sel} );
|
||||
$.post( '{{ uri|escape("js") }}', {lang: sel} );
|
||||
window.location.href = window.location.pathname + window.location.search;
|
||||
}
|
||||
// FIDO2 functions
|
||||
|
||||
Reference in New Issue
Block a user