Regression #13265
closedAuthentication using Voucher cause SQLite3 syntax error
100%
Description
Errors:
Crash report begins. Anonymous machine information:
amd64
12.3-STABLE
FreeBSD 12.3-STABLE plus-RELENG_22_05-n202695-c0ae69858ce pfSense
Crash report details:
PHP Errors:
[10-Jun-2022 15:35:17 Etc/UTC] PHP Warning: SQLite3::exec(): near ",": syntax error in /etc/inc/captiveportal.inc on line 1487
[10-Jun-2022 15:35:17 Etc/UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/captiveportal.inc:1487) in /etc/inc/captiveportal.inc on line 1797
[10-Jun-2022 15:35:18 Etc/UTC] PHP Warning: SQLite3::exec(): near ",": syntax error in /etc/inc/captiveportal.inc on line 1487
[10-Jun-2022 15:35:18 Etc/UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/captiveportal.inc:1487) in /etc/inc/captiveportal.inc on line 1797
____________________
Steps to reproduce:
1)Create a captive portal with a Local Database backed
2)Enable Voucher
3)Add Voucher rolls
4)Use the Voucher code for authentication
Files