Package: motion
Version: 3.2.12-3.4
Severity: minor
Tags: upstream patch

When control_html_output is set to off, there is still some HTML output.
This affects specifically detection/pause

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: i386 (i586)

Kernel: Linux 3.2.0-4-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages motion depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  libavcodec53           6:0.8.6-1
ii  libavformat53          6:0.8.6-1
ii  libavutil51            6:0.8.6-1
ii  libc6                  2.13-38
ii  libjpeg8               8d-1
ii  libmysqlclient18       5.5.31+dfsg-0+wheezy1
ii  libpq5                 9.1.9-1

Versions of packages motion recommends:
ii  ffmpeg  6:0.8.6-1

Versions of packages motion suggests:
pn  mysql-client       <none>
pn  postgresql-client  <none>

-- Configuration Files:
/etc/default/motion changed [not included]
/etc/motion/motion.conf changed [not included]

-- debconf information excluded
Description: Fixed some response still containing html when control_html_output=off
Author: Leo Moll <leo.m...@yeasoft.com>
Last-Update: 2013-06-26

--- a/webhttpd.c
+++ b/webhttpd.c
@@ -1116,7 +1116,7 @@
                 send_template_end_client(client_socket);
             } else {
                 send_template_ini_client_raw(client_socket);
-                sprintf(res, "<b>Thread %hu</b> Detection paused\nDone\n", thread);
+                sprintf(res, "Thread %hu Detection paused\nDone\n", thread);
                 send_template_raw(client_socket, res);
             }
         } else {

Reply via email to