This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  883245db48717a888ddc8121b6fed7c1f3337aa6 (commit)
      from  30be963e0608ee70acbf641549b590681b5f094f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=883245db48717a888ddc8121b6fed7c1f3337aa6

commit 883245db48717a888ddc8121b6fed7c1f3337aa6
Author: Franck Villaume <[email protected]>
Date:   Tue Sep 29 22:58:34 2020 +0200

    remove any html tag in the title of the html page

diff --git a/src/common/include/Navigation.class.php 
b/src/common/include/Navigation.class.php
index 6e1636e..d543cd5 100644
--- a/src/common/include/Navigation.class.php
+++ b/src/common/include/Navigation.class.php
@@ -3,7 +3,7 @@
  * FusionForge navigation
  *
  * Copyright 2009 - 2010, Olaf Lenz
- * Copyright 2011-2012,2016, Franck Villaume - TrivialDev
+ * Copyright 2011-2012,2016,2020, Franck Villaume - TrivialDev
  * Copyright 2014, Stéphane-Eymeric Bredthauer
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -57,7 +57,7 @@ class Navigation extends FFError {
                        if (!isset($params['title'])) {
                                return forge_get_config('forge_name');
                        } else {
-                               return forge_get_config('forge_name') . _(': ') 
. $params['title'];
+                               return forge_get_config('forge_name') . _(': ') 
. strip_tags($params['title']);
                        }
                } else {
                        // return HTML code otherwise

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/Navigation.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to