Re: Unused?: the url tag in the DPI start_send_page command

Jorge Arellano Cid <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Sun, Dec 09, 2012 at 04:14:01PM +0000, Jeremy Henty wrote:
> 
> Everything that sends the start_send_page DPI command also sends a url
> attribute with it, but I think this attribute is always ignored.
>
> Dillo processes  the command  in capi.c  but it  does nothing  with it
> because the Cache is already set up to receive the following raw data.
> So  it doesn't  look at  any attributes.   The only  other thing  that
> receives a start_send_page is the view  source DPI and it doesn't look
> at any of  the attributes either (it extracts a  url from the previous
> tag in the stream, which it then sends back to Dillo to be ignored).

  View source shows the URL as page title.

> So what is  this attribute for?  Future use?  Or  is it something that
> just never got used?

  In  general  terms, there were ideas that went unused, and some
extensions  that were necessary to solve an unforeseen situation;
as dpi authentication to avoid a local socket spoofing attack.

  The  dpi  framework is the same for several quite different dpi
programs  (aka  plugins).  The  interface  was  kept more or less
uniform, and each dpi chooses whether to use the info or not.


-- 
  Cheers
  Jorge.-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.