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

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