mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 10:00:41 +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)
|
||||
- break long original file names on viewDocument page
|
||||
- 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
|
||||
|
|
|
|||
|
|
@ -783,7 +783,7 @@ $(document).ready( function() {
|
|||
} else {
|
||||
print htmlspecialchars($latestContent->getOriginalFileName());
|
||||
}
|
||||
if(!$latestContent->checkOriginalFileName()) {
|
||||
if($user->isAdmin() && !$latestContent->checkOriginalFileName()) {
|
||||
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
||||
}
|
||||
print "</li>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user