wwwoffle-users  

Re: [WWWOFFLE-Users] RFE: don't create directory if host doesn't exist

Matus UHLAR - fantomas
Mon, 03 Apr 2006 22:29:07 -0700

> Matus UHLAR - fantomas <[EMAIL PROTECTED]> writes:
> > I often paste string from clipboard to a mozilla browser, which results into
> > tryting to open URL pointed at (it's very good feature of mozilla).
> > 
> > When this happens, wwwoffle creates directory for the "host", even if it
> > does not exist. It means that I get many useless directories (with error
> > messages) created in spool directory.
> > 
> > Could wwwoffle skip this behaviour, and try to validate hostname (at least
> > in online mode w/o paren tproxy set up) before creating the directory?

On 01.04.06 16:25, Andrew M. Bishop wrote:
> If Mozilla is asking WWWOFFLE for a valid hostname then I don't see
> the problem because WWWOFFLE will fetch the URL that is requested.
> The directory will be filled with a real web page or an error message.
> 
> If the problem is that Mozilla is asking for a URL that is not really
> a URL but a random string then the problem is with Mozilla.  Mozilla
> should be validating the hostname before asking for it.

It's neither the first, nor the second one... It's a string that is valid
from the DNS point of view, but there is no such record in DNS.

(mozilla does check for valid DNS name - if I pasted string that is not valid 
DNS name, mozilla
would just print an error and would not pass it to the proxy)

I understand that if proxy is configured, mozilla does not try to resolve
the hostname - the DNS might not be working in such cases, so mozilla leaves
hostname resolution to the proxy.

> Can you give an example of the type of hostname that is causing you
> the problem.

well, simple string "xxxyyyzzz" which is valid (although not
fully-qualified) might be as an example - there's no such host in any of
domains wwwoffle checks. so wwwoffle creates directory "xxxyyyzzz" just to
put "host does not exist" page there.

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759