Project

General

Profile

Bug #7590

diag_edit do not save when nothing to sae (in directory browse view)

Added by Jeremy C. Reed 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Diagnostics
Target version:
-
Start date:
05/20/2017
Due date:
% Done:

0%

Affected Version:
Affected Architecture:

Description

diag_edit.php
if you are browsing directory hiererchy, and enter a filename
and click save, it will write a zero byte file to that filename.

Note there was no data to write but the edit display was showing
the directory layout.

I suggest if a browse directory view is displayed then
the Save button should be disabled
or the save should indicate no data to save while in directory
browsing view and to not do anything.

(I noticed this while working on my book.
My list of bugs is at http://reedmedia.net/books/pfsense/bugs.html )

Also available in: Atom PDF