mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 18:10:42 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
becde0b8f7
|
|
@ -349,7 +349,7 @@
|
||||||
already (in menu task list and document list)
|
already (in menu task list and document list)
|
||||||
- break long original file names on viewDocument page
|
- break long original file names on viewDocument page
|
||||||
- fix potential XSS attack in many fields of settings
|
- fix potential XSS attack in many fields of settings
|
||||||
- allow to edit original filename
|
- allow to edit original filename, check filename for problematic chars
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.1.40
|
Changes in version 5.1.40
|
||||||
|
|
|
||||||
|
|
@ -783,7 +783,7 @@ $(document).ready( function() {
|
||||||
} else {
|
} else {
|
||||||
print htmlspecialchars($latestContent->getOriginalFileName());
|
print htmlspecialchars($latestContent->getOriginalFileName());
|
||||||
}
|
}
|
||||||
if(!$latestContent->checkOriginalFileName()) {
|
if($user->isAdmin() && !$latestContent->checkOriginalFileName()) {
|
||||||
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
||||||
}
|
}
|
||||||
print "</li>\n";
|
print "</li>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user