Project

General

Profile

Actions

Bug #9066

closed

ecl.php: Checking /config path is not working due to lack of trailing slash

Added by Jim Pingle about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backup / Restore
Target version:
Start date:
10/25/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

At source:src/etc/ecl.php#L59 the locations for the external config locator (ECL) script are defined, but /config does not end in a trailing slash.

Later when the locations are used at source:src/etc/ecl.php#L61 no slash is added between the path and target filename.

Thus, ecl.php checks for /config.xml and /configconfig.xml rather than /config/config.xml.

Actions #1

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Anonymous about 3 years ago

  • Status changed from Feedback to Resolved

Tested on pfSense-CE-memstick-ADI-2.4.5-DEVELOPMENT-amd64-20181103-0458, works as expected (config.xml in /config/ on a USB drive formatted FAT32, is recognized and restored on first boot after installing pfSense).

Actions

Also available in: Atom PDF