From 42d3fe877246e6146578d847c3ac6263ee9280c7 Mon Sep 17 00:00:00 2001 From: Matthew Jordan <mjordan@digium.com> Date: Fri, 7 Feb 2014 16:47:56 +0000 Subject: [PATCH] security_events: Fix error caused by DTD validation error The appdocsxml.dtd specifies that a "required" attribute in a parameter may have a value of yes, no, true, or false. On some systems, specifying "False" instead of "false" would cause a validation error. This patch fixes the casing to explicitly match the DTD. ........ Merged revisions 407676 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407677 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/security_events.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main/security_events.c b/main/security_events.c index 54cca2d5e0..bf35b1c7cf 100644 --- a/main/security_events.c +++ b/main/security_events.c @@ -65,13 +65,13 @@ <para>The remote address of the entity that caused the security event to be raised.</para> </parameter> - <parameter name="Module" required="False"> + <parameter name="Module" required="false"> <para>If available, the name of the module that raised the event.</para> </parameter> - <parameter name="ACLName" required="False"> + <parameter name="ACLName" required="false"> <para>If available, the name of the ACL that failed.</para> </parameter> - <parameter name="SessionTV" required="False"> + <parameter name="SessionTV" required="false"> <para>The timestamp reported by the session.</para> </parameter> </syntax> @@ -180,7 +180,7 @@ <xi:include xpointer="xpointer(/docs/managerEvent[@name='RequestNotSupported']/managerEventInstance/syntax/parameter[@name='RequestType'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='Module'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='SessionTV'])" /> - <parameter name="RequestParams" required="False"> + <parameter name="RequestParams" required="false"> <para>Parameters provided to the rejected request.</para> </parameter> </syntax> @@ -221,7 +221,7 @@ <xi:include xpointer="xpointer(/docs/managerEvent[@name='RequestNotSupported']/managerEventInstance/syntax/parameter[@name='RequestType'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='Module'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='SessionTV'])" /> - <parameter name="AccountID" required="False"> + <parameter name="AccountID" required="false"> <para>The account ID associated with the rejected request.</para> </parameter> <xi:include xpointer="xpointer(/docs/managerEvent[@name='RequestNotAllowed']/managerEventInstance/syntax/parameter[@name='RequestParams'])" /> @@ -308,13 +308,13 @@ <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='RemoteAddress'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='Module'])" /> <xi:include xpointer="xpointer(/docs/managerEvent[@name='FailedACL']/managerEventInstance/syntax/parameter[@name='SessionTV'])" /> - <parameter name="Challenge" required="False"> + <parameter name="Challenge" required="false"> <para>The challenge that was sent.</para> </parameter> - <parameter name="ReceivedChallenge" required="False"> + <parameter name="ReceivedChallenge" required="false"> <para>The challenge that was received.</para> </parameter> - <parameter name="RecievedHash" required="False"> + <parameter name="RecievedHash" required="false"> <para>The hash that was received.</para> </parameter> </syntax> -- GitLab