public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
escape HTML in autodiscover logs
95bf46c1
data/web/js/site/dashboard.js | 5 +++++
1 file changed, 5 insertions(+)
Diff
diff --git a/data/web/js/site/dashboard.js b/data/web/js/site/dashboard.js
index 760e878f..aee36171 100644
--- a/data/web/js/site/dashboard.js
+++ b/data/web/js/site/dashboard.js
@@ -1128,6 +1128,11 @@ jQuery(function($){
item.ua = escapeHtml(item.ua);
}
item.ua = '<span style="font-size:small">' + item.ua + '</span>';
+ if (item.user == null) {
+ item.user = 'unknown';
+ } else {
+ item.user = escapeHtml(item.user);
+ }
if (item.service == "activesync") {
item.service = '<span class="badge fs-6 bg-info">ActiveSync</span>';
}