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