Bug #7294
closed
Lenght of description of firewall rules
Added by Pablo Trincavelli almost 8 years ago.
Updated over 7 years ago.
Affected Architecture:
All
Description
When adding or modifying a firewall rule, the description field accept more characters than are saved, so the description gets truncated.
firewall_rules_edit.php
strncpy($filterent['descr'], $_POST['descr'], 52);
I wonder why it limits that to 52?
One char per week of the year :)
I will guess that the description is later passed somewhere into the pf ruleset maybe, so it can appear somewhere in logs...?
- Category set to Rules / NAT
- Target version set to 2.4.0
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
- Assignee set to Renato Botelho
- Status changed from New to Resolved
- Target version changed from 2.4.0 to 2.3.4
PR was merged and it has been working
Also available in: Atom
PDF