Project

General

Profile

Actions

Bug #15711

closed

Special characters in the ACB configuration change description can cause PHP errors

Added by Chris W 3 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Auto Configuration Backup
Target version:
Start date:
Due date:
% Done:

100%

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

Description

As one example, it's possible to create a description with a | at the end but then trying to reach the Restore page again results in a PHP error.

This is what's shown in the notification area:

PHP ERROR: Type: 1, File: /usr/local/www/services_acb.php, Line: 271, Message: Uncaught DateMalformedStringException: Failed to parse time string (|2024-09-07 10:30:10.0) at position 0 (|): Unexpected character in /usr/local/www/services_acb.php:271
Stack trace:
#0 /usr/local/www/services_acb.php(271): DateTime->__construct()
#1 {main}
thrown @ 2024-09-07 15:39:13


Files

Actions

Also available in: Atom PDF