Project

General

Profile

Actions

Bug #16030

closed

Captive Portal service management via ``pfSsh.php svc`` fails when the zone name contains uppercase letters

Added by Georgiy Tyutyunnik 2 months ago. Updated 24 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
Affected Architecture:

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.

Actions #1

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
Actions #2

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
Actions #3

Updated by Marcos M 2 months ago

  • Status changed from New to Feedback
Actions #4

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

Actions #5

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
Actions #6

Updated by Jim Pingle 24 days ago

  • Plus Target Version changed from 25.07 to 25.03

This was picked back to 25.03

Actions

Also available in: Atom PDF