Motion - Bug Report 2007x 11x 25x 102808
You are here: Foswiki>Motion Web>BugReports>BugReport2007x11x25x102808 (18 May 2008, AngelCarpintero)Edit Attach

BUG: http control uses invalid html

The HTML output on motion control isn't valid HTML to some extent. Sample:

<html><head></head>
<body>
<a href=/1/config/get><- back</a>
<b>Thread 1</b>
<li>text_left = Kamera 1&nbsp;&nbsp;&nbsp;&nbsp;<a href='/motion_guide/motion_guide.html#text_left' target=_blank>[help]</a></li></body>
</html>
The
  • Element is only valid within an
      Element. Parsing this with an HTML parser programmatically leads to errors. Either the
    • is ommited or an
        ...
      is added.

      The "<- back" isn't HTML either. The < must be encoded, so <– would be the propper encoding for a text-like left arrow:

      <– back

      Can this be applied?

      Environment

      Motion version: 3.2.9
      ffmpeg version: N/A
      Shared libraries: N/A
      Server OS: N/A

      -- AxelAmthor - 25 Nov 2007

      Follow up

      Fix record

      Resolved in svn -r283.

      -- AngelCarpintero - 02 Dec 2007
  • Topic revision: r3 - 18 May 2008, AngelCarpintero
    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.