Révision d20f5bc6
Ajouté par Julien Enselme il y a presque 10 ans
drupal7/modules/openid/openid.inc | ||
---|---|---|
158 | 158 |
return array(); |
159 | 159 |
} |
160 | 160 |
|
161 |
// Also stop parsing if there is an unreasonably large number of tags. |
|
162 |
if ($dom->getElementsByTagName('*')->length > variable_get('openid_xrds_maximum_tag_count', 30000)) { |
|
163 |
return array(); |
|
164 |
} |
|
165 |
|
|
161 | 166 |
// Parse the DOM document for the information we need. |
162 | 167 |
if ($xml = simplexml_import_dom($dom)) { |
163 | 168 |
foreach ($xml->children(OPENID_NS_XRD)->XRD as $xrd) { |
Formats disponibles : Unified diff
Udpate to 7.31