Bug #8494
pressing Enter in pftop filter field redirects to another page
100%
Description
If I press Enter in pftop filter field system redirects me to another page instead showing result in Output frame.
E.g.
for host 1.1.1.1
it shows
pfTop: Up State no entries (8), View: default, Order: bytes PR DIR SRC DEST STATE AGE EXP PKTS BYTES

for host 172.21.41.127
it shows
pfTop: Up State 1-2/2 (9), View: default, Order: bytes PR DIR SRC DEST STATE AGE EXP PKTS BYTES udp In 172.21.41.127:1194 172.21.41.138:1194 MULTIPLE:MULTIPLE 01:21:35 00:00:58 1285 169271 udp In 172.21.41.127:17500 172.21.41.255:17500 NO_TRAFFIC:SINGLE 00:16:39 00:00:22 34 6664

And for any wrong syntax request it shows
Invalid filter, check syntax

Video demonstrates the issue:
https://youtu.be/TWqdtVJSO_8?t=3m9s
Associated revisions
Prevent pressing Enter in the filter field of diag_pftop.php. Fixes #8494
(cherry picked from commit e2654541019b59f544cda76fb0e63ea7a4a5d040)
Prevent pressing Enter in the filter field of diag_pftop.php. Fixes #8494
(cherry picked from commit e2654541019b59f544cda76fb0e63ea7a4a5d040)
Prevent pressing Enter in the filter field of diag_pftop.php. Fixes #8494
(cherry picked from commit e2654541019b59f544cda76fb0e63ea7a4a5d040)
History
#1
Updated by Jim Pingle almost 3 years ago
- Status changed from New to Confirmed
- Assignee set to Jim Pingle
- Target version set to 2.4.4
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
#2
Updated by Jim Pingle almost 3 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset e2654541019b59f544cda76fb0e63ea7a4a5d040.
#3
Updated by Jim Pingle almost 3 years ago
- Target version changed from 2.4.4 to 2.4.3-p1
#4
Updated by Anonymous almost 3 years ago
The issue is not present on latest 2.4.4 snap (2.4.4.a.20180504.0747).
#5
Updated by Jim Pingle almost 3 years ago
- Status changed from Feedback to Resolved
Prevent pressing Enter in the filter field of diag_pftop.php. Fixes #8494