The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible bug in File Manager

Discussion in 'General Discussion' started by n000b, Oct 13, 2007.

  1. n000b

    n000b Well-Known Member

    Joined:
    Apr 7, 2005
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    One of my customers was having a problem with the cPanel File Manager. They were trying to insert images in to an HTML file using the File Manager HTML Editor.

    When they go to insert an image (by clicking on "Insert/Edit an Image") and select the folder with all the images in it, only images without spaces in the filename show up.

    Took me a while to figure that one out - I assume it's a bug and hopefully it helps others with the same problem :)
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In Unix environments, it's considered bad practice to place spaces in file names, especially when they will be served as web pages.

    However, you are welcome to report this as a bug to http://bugzilla.cpanel.net
     
  3. norelidd

    norelidd Well-Known Member

    Joined:
    Jan 15, 2007
    Messages:
    173
    Likes Received:
    1
    Trophy Points:
    18
    It's also considered bad practice to use huge looping animated gifs of eagles crying on your website, but my clients want to anyways.

    I don't think cPanel should be the arbiter of what is good and bad practice. If a user wants to upload a perfectly valid file with a perfectly valid filename and he doesn't care that there will be %20 in the url, then let him.

    Sometimes cPanel oversteps it's bounds in determining what a user should do instead of what they can do. If certain functionality is available on the server, then cPanel should allow it as long as it isn't over detrimental.
     
Loading...

Share This Page