Motion - Bug Report 2004x 10x 24x 135840

BUG: Leading spaces of text_left and text_right lost when saving with xmlrpc

Added by Kenneth Lavrsen on behalf of MikeLees.

I think I have spotted a minor bug with config file save - if I set text_left to have leading spaces via XML-RPC it works fine. If I then save the config via XML-RPC the value of text_left is not enclosed in quotes so on restarting motion the leading spaces are lost. Same occurs with text_right.

Test case

Environment

Motion version: 3.1.17
Shared libraries: curl, xmlrpc, ffmpeg, mysql, postgresql
Server OS: Any

-- KennethLavrsen - 24 Oct 2004 on behalf of MikeLees

Follow up

Hmm. I'd better have a look at that. That should work.

-- KennethLavrsen - 03 Oct 2004

Fix record

Fixed the problem with leading spaces of text_left and text_right getting lost when saving with xmlrpc. For text_left and text_right. Motion now puts the string in quotation marks if the value starts with a leading space.

This fix is available from motion-3.1.18_snap4.

-- KennethLavrsen - 01 Nov 2004

BugReportForm edit

TopicTitle Leading spaces of text_left and text_right lost when saving with xmlrpc
BugStatus Released
AssignedBugTo KennethLavrsen
SubmittedBy MikeLees
Topic revision: r2 - 01 Nov 2004, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.