[asterisk-commits] mjordan: branch 12 r407676 - /branches/12/main/security_events.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 7 10:46:20 CST 2014
Author: mjordan
Date: Fri Feb 7 10:46:14 2014
New Revision: 407676
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407676
Log:
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.
Modified:
branches/12/main/security_events.c
Modified: branches/12/main/security_events.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/security_events.c?view=diff&rev=407676&r1=407675&r2=407676
==============================================================================
--- branches/12/main/security_events.c (original)
+++ branches/12/main/security_events.c Fri Feb 7 10:46:14 2014
@@ -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>
More information about the asterisk-commits
mailing list