Ticket #1280 (reopened defect)

Opened 3 years ago

Last modified 3 years ago

Browser: Fetching invalid links

Reported by: dborca at yahoo dot com Assigned to: bdelbosc
Priority: P2 Milestone: unspecified
Component: funkload Version: unspecified
Severity: normal Keywords: html parsing javascript
Cc:

Description

Sometimes, pageImages fails because the HTML parsing does not take CDATA into account. For example: <script> doc.writeln("<IMG SRC=" + ohwell + ">"); </script>

Change History

01/19/06 10:11:55 changed by bdelbosc

  • keywords changed from html parsing - CDATA to html parsing javascript.
  • priority changed from P1 to P3.
  • severity changed from major to normal.
  • milestone changed from CPS 3.2.5 to unspecified.

ok I have to make the doc clear about the fact that the browser don't interpret script and therfore will not load this kind of resource.

01/19/06 10:49:09 changed by bdelbosc

  • summary changed from resource detection to Doc: explain browser resource detection.

01/26/06 11:39:20 changed by bdelbosc

  • status changed from new to closed.
  • resolution set to fixed.

I add the following text in the Browser get api description:

...
It also simulates a browser cache by not reloading a css, a javascript or an
image twice.

Note that this is an emulation with some limitation:

* It is single threaded (it loads images one after the other)
* It does not interpret javascript
* See track_ tickets that starts with `Browser:` for other limitations
...

01/26/06 17:16:39 changed by bdelbosc

  • priority changed from P3 to P2.
  • status changed from closed to reopened.
  • resolution deleted.
  • summary changed from Doc: explain browser resource detection to Browser: Fetching invalid links.

Daniel Borca wrote:

I know that the browser does not interpret JavaScript?. The problem is not that I wanted to load it. I wanted to NOT load it. In: <script> doc.writeln("<IMG SRC=" + ohwell + ">"); </script> it is not skipping CDATA. This means it will blindly search for IMG and will try to retrieve image named " + ohwell + ".