]> granicus.if.org Git - php/commit
Fixed #67474 (getElementsByTagNameNS and default namespace)
authorArnout Boks <arnoutboks@gmail.com>
Mon, 2 Jan 2017 10:47:49 +0000 (11:47 +0100)
committerJoe Watkins <krakjoe@php.net>
Mon, 2 Jan 2017 11:56:37 +0000 (11:56 +0000)
commita8955926c2da6cb225edb92236e04ff9eb7cbcfa
tree07d225d3cd09b49b066a4c1002a03bfb247470e9
parent19c4a2ef192d39316bf472d91cbd77f637a79a23
Fixed #67474 (getElementsByTagNameNS and default namespace)

This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw
uses an empty string to filter on the default namespace (as NULL means
'no filter'), whereas in the node itself the default namespace is
signalled by nodep->ns being null.
ext/dom/php_dom.c