Actions
Bug #14741
openPHP error in DNS Forwarder host overrides when the language is set to French
Status:
New
Priority:
Very High
Assignee:
-
Category:
DNS Forwarder
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.x
Affected Architecture:
Description
A PHP error occur when a user try to add or modify Host Override in DNS Forwarder module
amd64 14.0-CURRENT FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-REL Crash report details: PHP Errors: [02-Sep-2023 11:55:24 Europe/Paris] PHP Fatal error: Uncaught ValueError: Unknown format specifier "p" in /usr/local/www/classes/Form/Input.class.php:127 Stack trace: #0 /usr/local/www/classes/Form/Input.class.php(127): sprintf('Nom de domaine ...', '<br />') #1 /usr/local/www/services_dnsmasq_edit.php(85): Form_Input->setHelp('Domain of the h...', '<br />') #2 {main} thrown in /usr/local/www/classes/Form/Input.class.php on line 127 [02-Sep-2023 11:58:37 Europe/Paris] PHP Fatal error: Uncaught ValueError: Unknown format specifier "p" in /usr/local/www/classes/Form/Input.class.php:127 Stack trace: #0 /usr/local/www/classes/Form/Input.class.php(127): sprintf('Nom de domaine ...', '<br />') #1 /usr/local/www/services_dnsmasq_edit.php(85): Form_Input->setHelp('Domain of the h...', '<br />') #2 {main} thrown in /usr/local/www/classes/Form/Input.class.php on line 127 [02-Sep-2023 11:58:46 Europe/Paris] PHP Fatal error: Uncaught ValueError: Unknown format specifier "p" in /usr/local/www/classes/Form/Input.class.php:127 Stack trace: #0 /usr/local/www/classes/Form/Input.class.php(127): sprintf('Nom de domaine ...', '<br />') #1 /usr/local/www/services_dnsmasq_edit.php(85): Form_Input->setHelp('Domain of the h...', '<br />') #2 {main} thrown in /usr/local/www/classes/Form/Input.class.php on line 127
I think it come from a french translation file because when i use original language, everithing works.
Updated by Lev Prokofev over 1 year ago
Can confirm that bug
Tested on
23.05.1-RELEASE (amd64)
built on Wed Jun 28 03:57:27 UTC 2023
FreeBSD 14.0-CURRENT
Steps to reproduce:
at System=>General setup switch language to French
Go to System=>DNS Forwarder
try to add a host override entry.
[02-Sep-2023 13:59:26 Europe/Moscow] PHP Fatal error: Uncaught ValueError: Unknown format specifier "p" in /usr/local/www/classes/Form/Input.class.php:127
Stack trace:
#0 /usr/local/www/classes/Form/Input.class.php(127): sprintf('Nom de domaine ...', '<br />')
#1 /usr/local/www/services_dnsmasq_edit.php(85): Form_Input->setHelp('Domain of the h...', '<br />')
#2 {main}
thrown in /usr/local/www/classes/Form/Input.class.php on line 127
Updated by Jordan G over 1 year ago
can confirm bug using above steps. spot checked various other languages and was unable to find this issue occurring on any other available language selections.
Updated by Jim Pingle over 1 year ago
- Subject changed from Crash DNS Forwarder when add host to PHP error in DNS Forwarder host overrides when the language is set to French
Actions