mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-28 05:05:54 +03:00
[project @ 2004-06-29 12:38:49 by bursa]
Fix bug in rewrite_urls(): xmlNodes may have no name. svn path=/import/netsurf/; revision=1027
This commit is contained in:
parent
08b8e8cc21
commit
6efe47b59d
@ -485,8 +485,11 @@ bool rewrite_urls(xmlNode *n, const char *base)
|
||||
* 5) background any (except those above)
|
||||
|
||||
*/
|
||||
if (!n->name) {
|
||||
/* ignore */
|
||||
}
|
||||
/* 1 */
|
||||
if (strcmp(n->name, "object") == 0) {
|
||||
else if (strcmp(n->name, "object") == 0) {
|
||||
if (!rewrite_url(n, "data", base))
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user