Project

General

Profile

Actions

Regression #16074

closed

States view doesn't populate Rule ID field if opening a new tab

Added by Steve Y about 2 months ago. Updated about 2 months ago.

Status:
Not a Bug
Priority:
Low
Assignee:
-
Category:
Diagnostics
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
24.11
Affected Architecture:
All

Description

There is an inconsistency when viewing the Diagnostics > States page. For example, on the Firewall > LAN page, when I right click and open the link in a new tab it goes to URL https://FQDN/diag_dump_states.php?ruleid=123,124.

Using a new tab like this, the "?ruleid=123,124" remains visible in the URL and the page does not auto-populate the "Rule ID" field, thus shows all open states.

If I just click the link, the browser navigates to https://FQDN/diag_dump_states.php without a querystring, but the "Rule ID" field is correctly populated.

I think I've noticed this for a while but finally figured out the pattern today. I assume it affects CE but we only have Plus and have 24.11 on the two routers I checked.

I would guess the click is POSTing and PHP isn't processing the variable as a GET, though didn't look into it.

Note the URL visible in the HTML does actually show the querystring:

<a href="diag_dump_states.php?ruleid=123,124" data-toggle="popover" data-trigger="hover focus" title="" data-content="Tracking ID: 1770009182<br />evaluations: 21.004M<br />packets: 0<br />bytes: 0 B<br />states: 0<br />state creations: 0" data-html="true" usepost="" data-original-title="States details">0/0 B</a>

Actions

Also available in: Atom PDF