Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    63

    Default File Manager Edit File bug

    In the "Edit File" function of CPanel's "File Manager", the contents of the file are being dumped inside the textarea form field without escaping the HTML special characters:

    & = &
    < = &amp;lt;
    > = &amp;gt;
    " = &amp;quot;

    What happens is that when a file that's being edited has the tag </textarea>, the browser mistakingly closes the textarea, and the file's contents and the page's HTML code get mixed up.

    -Dario

  2. #2
    Member
    Join Date
    Nov 2001
    Posts
    58

    Default Bug Confirmed

    Agreed, but sometimes the effects are a bit more subtle.

    One of my customers was trying to use a greeting card script (link) and this bug caused a tiny section of the file to get corrupted every time he used the CPanel File Editor to make minor changes. Result: "Internal Server Error" when he tried to run the script.

Similar Threads & Tags
Similar threads

  1. file/folder selection bug in file manager
    By myweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-16-2008, 12:50 AM
  2. File Manager Edit File function
    By santame in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-25-2003, 11:48 AM
  3. BUG in Edit File in File Manager
    By elitehst in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-13-2003, 02:46 PM
  4. BUG * Wrong file upload (file manager)
    By H2Hosting.com in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-09-2003, 12:44 PM
  5. File Manager \"Edit File\"....
    By JeremyL in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-11-2001, 11:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube