W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2013

[Bug 21372] New: Parsing URLs inside <script> tags

From: <bugzilla@jessica.w3.org>
Date: Fri, 22 Mar 2013 09:41:10 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-21372-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21372

            Bug ID: 21372
           Summary: Parsing URLs inside <script> tags
    Classification: Unclassified
           Product: LinkChecker
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: checklink
          Assignee: ville.skytta@iki.fi
          Reporter: wpoi@ya.ru
        QA Contact: www-validator-cvs@w3.org

LinkChecker tries to check links he finds inside <script> tags. In general it's
a normal operation but it could be broken with following code:

<script type='text/javascript'>(function(){var d=document;d.write('<iframe
src="'+'http://some.site.com/"></iframe>');})();</script>

In this situation LinkChecker will try to resolve following URL:
'+'http://some.site.com/

That's incorrect and should be skipped.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 22 March 2013 09:41:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:54 UTC