Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

File Manager Edit File bug

Discussion in 'General Discussion' started by dariofg2, Apr 8, 2003.

  1. dariofg2

    dariofg2 Well-Known Member

    Mar 7, 2003
    Likes Received:
    Trophy Points:
    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.

  2. dolphyn

    dolphyn Well-Known Member

    Nov 27, 2001
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice