Check <object codebase=...> as normal URL.

This commit is contained in:
Bastian Kleineidam 2012-06-23 14:28:32 +02:00
parent 73b176d7c9
commit 363ccc0121
4 changed files with 14 additions and 7 deletions

View file

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

View file

@ -53,7 +53,7 @@ LinkTags = {
'layer': [u'background', u'src'],
'link': [u'href'],
'meta': [u'content', u'href'],
'object': [u'classid', u'data', u'archive', u'usemap'],
'object': [u'classid', u'data', u'archive', u'usemap', u'codebase'],
'q': [u'cite'],
'script': [u'src'],
'source': [u'src'], # HTML5

View file

@ -31,7 +31,7 @@ Just some HTTP links
title="CSS urls">
<!-- object with codebase -->
<object classid="clsid:12345" codebase="http://example.org/foo/ #a=1,2,3">
<object classid="clsid:12345-67890" codebase="http://example.org/foo/ #a=1,2,3">
<!-- <a href=http://nocheckin> no check because of comment -->
<a href=http://www.example.com/">no beginning quote</a>

View file

@ -124,13 +124,19 @@ real url http://localhost:%(port)d/?quoted=%%C3%%BC
name html entities
valid
url clsid:12345
cache key clsid:12345
real url clsid:12345
baseurl http://example.org/foo/%%20#a%%3D1%%2C2%%2C3
url clsid:12345-67890
cache key clsid:12345-67890
real url clsid:12345-67890
warning Clsid URL ignored.
valid
url http://example.org/foo/ #a=1,2,3
cache key http://example.org/foo/%%20
real url http://www.iana.org/domains/example/
info Redirected to `http://www.iana.org/domains/example/'.
warning Anchor `a%%3D1%%2C2%%2C3' not found. Available anchors: `body', `body-container', `footer', `footer-beta-feedback', `footer-frame', `header', `header-frame', `header-logo', `header-nav', `iana-footer-first', `iana-footer-icann'.
valid
url http://www.example.com/ (cached)
cache key http://www.example.com/
real url http://www.iana.org/domains/example/