projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6b447
)
insert fails if group desc has special char
author
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:22:39 +0000
(10:22 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:22:39 +0000
(10:22 +0000)
gforge/common/include/Group.class.php
patch
|
blob
|
history
diff --git
a/gforge/common/include/Group.class.php
b/gforge/common/include/Group.class.php
index 4f3317f1d8d6dc71967fdc1b7a47373d03143f91..ca5cbd60eb9801f1980bea4b59ca0d32dcb80c4f 100644
(file)
--- a/
gforge/common/include/Group.class.php
+++ b/
gforge/common/include/Group.class.php
@@
-556,7
+556,7
@@
class Group extends Error {
$homepage=$GLOBALS['sys_default_domain'].'/projects/'.$this->getUnixName().'/';
}
- if (strlen(
$short_description
)>255) {
+ if (strlen(
htmlspecialchars($short_description)
)>255) {
$this->setError(_('Error updating project information: Maximum length for Project Description is 255 chars.'));
return false;
}