Bug #16030
closedCaptive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters
100%
Description
If the captive portal zone name has capitals in its name, some of the restart-related processes refer its name incorrectly:
/usr/local/sbin/pfSsh.php playback svc restart captiveportal test2
Attempting to issue restart to captiveportal service...
captiveportal has been restarted.
/usr/local/sbin/pfSsh.php playback svc restart captiveportal TEST2
No Captive Portal Zone found with that name.
22266 root 1 68 0 32M 10M pause 1 0:00 0.88% nginx: master process /usr/local/sbin/nginx -c /var/etc/nginx-test2-CaptivePortal.conf (nginx)
cat /cf/conf/config.xml | grep TEST2
<zone>TEST2</zone>
This leads to the ACME package Action Restart Local Service to interact with it incorrectly.
Updated by Marcos M 2 months ago
- Project changed from pfSense Packages to pfSense
- Subject changed from ACME package Action Restart Local Service interacts with captive portal incorrectly to pfSsh.php service playback command for Captive Portal fails when the zone name contains uppercase letters
- Category changed from ACME to Captive Portal
- Assignee set to Marcos M
- Release Notes set to Default
Updated by Marcos M 2 months ago
- Target version set to 2.8.0
- % Done changed from 0 to 100
- Plus Target Version set to 25.07
Fixed with 27927fd401f7d511f3f7320e86581aa6d7d8fe50.
Updated by Georgiy Tyutyunnik 2 months ago
- Status changed from Feedback to Resolved
patch successfully fixes the issue.
patch changes the name of the existing zones to all lowercase
captive portal naming foornote now correctly states that all letters must be lowercase
Updated by Jim Pingle 2 months ago
- Subject changed from pfSsh.php service playback command for Captive Portal fails when the zone name contains uppercase letters to Captive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters
Updated by Jim Pingle 24 days ago
- Plus Target Version changed from 25.07 to 25.03
This was picked back to 25.03