Don't use <object codebase=...> attribute as parent url.

This commit is contained in:
Bastian Kleineidam 2012-06-23 13:32:08 +02:00
parent 8d23e2a3c6
commit cdf6b91b39
2 changed files with 2 additions and 1 deletions

View file

@ -10,6 +10,7 @@ Changes:
Fixes:
- gui: Fix saving of the debugmemory option.
- checking: Do not use <object codebase="..."> attribute as parent URL.
7.9 "The Dark Knight" (released 10.6.2012)

View file

@ -198,7 +198,7 @@ class LinkFinder (TagFinder):
name = self.get_link_name(tag, attrs, attr)
# possible codebase
base = u''
if tag in ('applet', 'object'):
if tag == 'applet':
base = unquote(attrs.get_true('codebase', u''))
if not base:
base = self.base_ref