<div dir="ltr">This is with <span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,'Courier New',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"><<a href="mailto:kheimerl@cs.berkeley.edu" target="_blank">kheimerl@cs.berkeley.edu</a>></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 <'s and >'s off of important fields. For instance, we're sending along a P-Preferred-Identity header:</div><div><br></div><div> P-Preferred-Identity: <<a href="http://sip:test@127.0.0.1:5060" target="_blank">sip:test@127.0.0.1:5060</a>><br></div><div><br></div><div>and it'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,'Courier New',monospace;font-size:11.5200004577637px;line-height:22px;background-color:rgb(247,247,249)"><sip_P-Preferred-Identity><<a href="mailto:sip%3Atest@127.0.0.1" target="_blank">sip:test@127.0.0.1</a>></sip_P-Preferred-Identity></span></div><div><span style="color:rgb(204,34,85);font-family:Monaco,Menlo,Consolas,'Courier New',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't parse. I'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't think I can. </div><div><br></div><div><sip_full_from><<a href="http://sip:test@127.0.0.1:5062" target="_blank">sip:test@127.0.0.1:5062</a>>;tag=OBTSiqkuupshsxlztuyb</sip_full_from></div><div><br></div><div>Ideas on what's going on here?</div><div><br></div><div>Thanks! </div></div>
</blockquote></div><br></div>