NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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

add escape html for description

1a8e1a26
Filip Marek <[email protected]> 1 year, 11 months ago
data/web/js/site/user.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Diff

diff --git a/data/web/js/site/user.js b/data/web/js/site/user.js
index c1a68080..2a5eccdf 100644
--- a/data/web/js/site/user.js
+++ b/data/web/js/site/user.js
@@ -205,7 +205,10 @@ jQuery(function($){
         {
           title: lang.description,
           data: 'description',
-          defaultContent: ''
+          defaultContent: '',
+          render: function (data, type) {
+            return escapeHtml(data);
+          }
         },
         {
           title: lang.alias_valid_until,