]> source.dussan.org Git - nextcloud-server.git/commit
Added extra checks for invalid file chars in newfile.php and newfolder.php
authorVincent Petry <pvince81@owncloud.com>
Fri, 10 Jan 2014 15:14:37 +0000 (16:14 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 18 Feb 2014 16:54:32 +0000 (17:54 +0100)
commit797e0a614cc44e627a54dfd39ce4047d176ebd9b
treefd0ed9c7d0d181a31da0f842414f3ed5ec5b9ea9
parenta573fe7d769f5eea26f52b818eee11779090bb50
Added extra checks for invalid file chars in newfile.php and newfolder.php

- added PHP utility function to check for file name validity
- fixes issue where a user can create a file called ".." from the files UI
- added extra checks to make sure newfile.php and newfolder.php also
  check for invalid characters
apps/files/ajax/newfile.php
apps/files/ajax/newfolder.php
lib/private/util.php
lib/public/constants.php
lib/public/util.php
tests/lib/util.php