CloudPanel version(s) affected
2.5.3
Description
In the File Manager for a site, when the browser viewport is narrow enough that the file listing switches to its responsive/mobile layout, every row's "Name" column is replaced with the site's domain (e.g. www.example.com) instead of the actual file or folder name (e.g. htdocs, logs, tmp).
Widening the viewport back past the breakpoint restores the correct names, so the underlying data is fine — it appears to be a presentation-layer bug in how the responsive table fills in its mobile labels (likely a data-label or equivalent attribute being populated from the site context instead of from the row's filename).
How to reproduce
- Log in to CloudPanel.
- Open any site (e.g.
www.example.com) and go to File Manager.
- Resize the browser window narrow enough to trigger the mobile layout (or open the page on a phone).
- Observe: every entry in the file listing is now labelled
www.example.com instead of its real name.
- Widen the window back — names render correctly again.
Possible Solution
The responsive-table code in the File Manager view appears to be reading the site name into the cell label used at narrow widths, rather than the per-row filename. Checking the data-label (or equivalent) attribute on the name column cells, and ensuring it's populated from the row's filename rather than the page/site context, should fix it.
Additional Context
- Reproduces in desktop browsers by narrowing the window past the layout breakpoint as well as on real mobile devices.
- Only the displayed label is affected; clicking a row still navigates to the correct underlying file/folder.
CloudPanel version(s) affected
2.5.3
Description
In the File Manager for a site, when the browser viewport is narrow enough that the file listing switches to its responsive/mobile layout, every row's "Name" column is replaced with the site's domain (e.g.
www.example.com) instead of the actual file or folder name (e.g.htdocs,logs,tmp).Widening the viewport back past the breakpoint restores the correct names, so the underlying data is fine — it appears to be a presentation-layer bug in how the responsive table fills in its mobile labels (likely a
data-labelor equivalent attribute being populated from the site context instead of from the row's filename).How to reproduce
www.example.com) and go to File Manager.www.example.cominstead of its real name.Possible Solution
The responsive-table code in the File Manager view appears to be reading the site name into the cell label used at narrow widths, rather than the per-row filename. Checking the
data-label(or equivalent) attribute on the name column cells, and ensuring it's populated from the row's filename rather than the page/site context, should fix it.Additional Context