Results 1 to 9 of 9

Thread: Allow spaces etc in filenames when uploading

  1. #1
    Join Date
    May 2007
    Posts
    588

    Default Allow spaces etc in filenames when uploading

    With the new uber-uploader progress bar it stops anyone uploading files with spaces in or other chars such as ' [] etc. it also has a 32 letter filename limit.

    you can turn off this annoying feature by editing /include/settings/uu_conlib.php and changing "check_file_name_format" to

    $check_file_name_format = 0;

  2. #2

    Default

    Amazing. 1000 thank yous.
    This member is now known as Sitting Out

  3. #3
    Join Date
    Jun 2007
    Posts
    197

    Default

    Leki,

    Great for stopping the no space issue, but by turning off the format type this allows people to upload any file type, and could cause serious issues, including PHP attacks etc.

    I've just uploaded a JPG file to SportGamingTv.com as an example.... For security purposes I wouldn't advise anyone to do this.

    Fixes one problem but opens up 100 problems.

    Regards,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default

    Hi Galnet

    This is not the case, php and other files that could cause harm are disallowed in the uber-uploader config. see uu_default_config.pm:

    disallow_extensions => '(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx| htaccess|htpasswd)',

    also jpg uploads are allowed by default by all vshare users....if you dont want that though you could add it to the above.

    so everyone you are safe to do this

  5. #5

    Default

    Thanks again, to both of you. I expanded my uu_default_config.pm to also include jpg, jpeg, png, gif and exe. I'll add more to this list as I notice things being a problem.
    This member is now known as Sitting Out

  6. #6
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    Uploading video with .exe extension ?

    Anyway allowing .exe upload is not good as abusers upload virus, then send spam, for this reason, most free services do not allow .exe file uploads.

  7. #7

    Default

    Sorry, I meant that I added those to the list of file extensions that are not allowed. :)


    disallow_extensions => '(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx| htaccess|htpasswd|exe|jpg|jpeg|gif|png)',
    This member is now known as Sitting Out

  8. #8

    Default

    iwould also add asp, jv, html, htm

  9. #9
    Join Date
    Oct 2007
    Posts
    126

    Default upgraded to v2.7 - now have this same problem

    Just upgraded to 2.7 from 2.6. Attempting to upload files now gets a warning about too many characters. Moving the file to the desktop which means there are less subdirectory paths fixes this problem but then the complaint is that I have invalid characters.
    I think the / characters in the path to the file are not being ignored in the valid character checking.

    Where is this and maybe I have something else I missed when setting up the progress bar upload?

    Tks Dave
    CasselmanCanada.com (free access)


Similar Threads

  1. white spaces need help
    By zclub in forum Template Modifications
    Replies: 6
    Last Post: 04-09-2009, 09:39 AM
  2. movies with no space convert, movies with spaces give 404
    By soundaxis in forum General Discussions
    Replies: 3
    Last Post: 05-21-2008, 12:44 AM
  3. Spaces in file name when uploading
    By porkd in forum General Discussions
    Replies: 5
    Last Post: 02-12-2008, 11:23 PM
  4. Uploading videos with (,),spaces are not handled correctly
    By devdag in forum Installation Support
    Replies: 1
    Last Post: 02-07-2008, 03:59 AM
  5. Updating ad spaces
    By scrapman74 in forum Bug Reports
    Replies: 1
    Last Post: 12-19-2007, 03:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •