Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117921214
D44.1775430402.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D44.1775430402.diff
View Options
Index: lib/AutodiscoverMicrosoft.php
===================================================================
--- lib/AutodiscoverMicrosoft.php
+++ lib/AutodiscoverMicrosoft.php
@@ -52,16 +52,14 @@
// parse XML
try {
$xml = new SimpleXMLElement($post);
- Log::debug(print_r($xml, true));
-
- foreach($xml->getDocNamespaces() as $strPrefix => $strNamespace) {
- if(strlen($strPrefix)==0) {
- $strPrefix="a"; //Assign an arbitrary namespace prefix.
- }
- $xml->registerXPathNamespace($strPrefix,$strNamespace);
- }
-
+ Log::debug(print_r($xml, true));
+ foreach($xml->getDocNamespaces() as $strPrefix => $strNamespace) {
+ if(strlen($strPrefix)==0) {
+ $strPrefix="a"; //Assign an arbitrary namespace prefix.
+ }
+ $xml->registerXPathNamespace($strPrefix,$strNamespace);
+ }
if ($email = $xml->xpath('//a:EMailAddress')) {
$this->email = (string) array_shift($email);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 11:06 PM (1 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18773142
Default Alt Text
D44.1775430402.diff (1 KB)
Attached To
Mode
D44: include Outlook 2010 XML Namespace in XML parser
Attached
Detach File
Event Timeline