Bug #5400
closed
diag_ping.php - Following link to pre-fill page results in an incorrect error
Added by Jim Pingle about 9 years ago.
Updated about 9 years ago.
Description
If you follow a link, such as one from Diag > DNS Lookup, to diag_ping.php similar to this:
diag_ping.php?host=google.com&interface=wan&count=3
The page loads displaying an error that the host couldn't be resolved or didn't respond, which isn't true the ping just hasn't been done yet (since it shouldn't take action until run via POST)
- Status changed from Confirmed to Feedback
- Assignee changed from Anonymous to Jim Pingle
Fixed by heper:patch-2 PR: 1932 now merged.
- Status changed from Feedback to Confirmed
- Assignee changed from Jim Pingle to Anonymous
This shouldn't be taking the action on following the link, it should only be pre-filling the form. Automatically taking an action like that on GET isn't desirable.
- Assignee changed from Anonymous to Jim Pingle
I'll take this, looks like there is a similar problem with traceroute, I've got a fix.
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Looks good here, it's behaving as expected now. No errors on load and it does not take action until the form is submitted.
Also available in: Atom
PDF