<div dir="ltr">This is with <span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,&#39;Courier New&#39;,monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)">1.4.18~1-1~wheezy+1 </span>BTW.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 17, 2015 at 12:38 PM, Kurtis Heimerl <span dir="ltr">&lt;<a href="mailto:kheimerl@cs.berkeley.edu" target="_blank">kheimerl@cs.berkeley.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Users,<div><br></div><div>I seem to have found a bug. mod_xml_cdr is sending along invalid XML as it is not stripping the &lt;&#39;s and &gt;&#39;s off of important fields. For instance, we&#39;re sending along a P-Preferred-Identity header:</div><div><br></div><div> P-Preferred-Identity: &lt;<a href="http://sip:test@127.0.0.1:5060" target="_blank">sip:test@127.0.0.1:5060</a>&gt;<br></div><div><br></div><div>and it&#39;s getting sent as the following in the xml:</div><div><br></div><div><span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,&#39;Courier New&#39;,monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)">&lt;sip_P-Preferred-Identity&gt;&lt;<a href="mailto:sip%3Atest@127.0.0.1" target="_blank">sip:test@127.0.0.1</a>&gt;&lt;/sip_P-Preferred-Identity&gt;</span></div><div><span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,&#39;Courier New&#39;,monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)"><br></span></div><div>However, this is invalid xml (for obvious reasons) and won&#39;t parse. I&#39;m currently in the process of double checking, but this seems to be new behavior. I tried to strip some of these headers, but they are important stuff like sip_full_from which I don&#39;t think I can. </div><div><br></div><div>&lt;sip_full_from&gt;&lt;<a href="http://sip:test@127.0.0.1:5062" target="_blank">sip:test@127.0.0.1:5062</a>&gt;;tag=OBTSiqkuupshsxlztuyb&lt;/sip_full_from&gt;</div><div><br></div><div>Ideas on what&#39;s going on here?</div><div><br></div><div>Thanks! </div></div>
</blockquote></div><br></div>