mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-22 18:45:43 -04:00
set_config prepended the section name to keys that already carried it, so NTP.Address went out as NTP.NTP.Address. get_config only strips the 'table.' prefix, which leaves keys in exactly the form setConfig wants, so drop the extra prefix and let reads and writes round-trip. uri_encode was called but URI::Encode was never imported, and the plain call leaves reserved characters alone, which corrupts passwords in a query string. Import it and always escape reserved characters. get_config now reads configManager.cgi sections as well as the handful of dedicated cgis, retries once on a 401 so the fresh digest nonce gets used, strips the 'table.' prefix, and tries any unrecognised name as a configManager section so a template can pull in sections the module doesn't list. set_config fell off the end of its loop returning undef on success. reboot POSTed system_reset=1 to setparam.cgi, a Vivotek endpoint, on a relative url through the raw user agent. ZoneMinder::General was used but never required. Adds device info, time, users, snapshot/rtsp/profiles/probe, white light and siren, and the remaining PTZ stops and auto pan, matching the method names cameratool.pl probes for with ->can(). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LzHrvNtF13vyYBAJjktam6
ZoneMinder version 0.01 ======================= The README is used to introduce the module and provide instructions on how to install the module, any machine dependencies it may have (for example C compilers and installed libraries) and any other information that should be provided before the module is installed. A README file is required for CPAN modules since CPAN extracts the README file from a module distribution so that people browsing the archive can use it get an idea of the modules uses. It is usually a good idea to provide version information here so that people can decide whether fixes for the module are worth downloading. INSTALLATION To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module requires these other modules and libraries: blah blah blah COPYRIGHT AND LICENCE Put the correct copyright and licence information here. Copyright (C) 2005 by Philip Coombes This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.