bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What triggers "A script modified the host part ..." warning?


From: novakyu
Subject: Re: What triggers "A script modified the host part ..." warning?
Date: Thu, 10 Jan 2008 03:36:03 -0800

On Jan 10, 2008 3:02 AM, Giuseppe Scrivano <address@hidden> wrote:
> novakyu wrote:
> > The thing is, this behavior seems to happen more often than I would
> > expect (I certainly didn't expect it while browsing my own website,
> > since it doesn't have any Javascripts and any dynamic processing (some
> > shtml and Python) is done on server side), and if it's case (1), I can
> > imagine that happening if I follow wrong links to my website, but not
> > if it's case (2).
>
> If your web site doesn't have any dynamic page then it is obviously an
> IceCat problem, can you post here how link are coded in your page?  Are
> you sure the server part is not modified in any way?

Well, it's just simple <a href=" ... "> It uses relative links. :)
There's one exception. I do use Apache's Rewrite module to hide the
fact that some of the pages are served by a python script (a classic
security-by-obscurity ;) ), and this is the relevant portion of
.htaccess:
  RewriteEngine on
  RewriteBase /
  RewriteRule ^posts.shtml(.*) cgi-bin/posts.py
  RewriteRule ^posts-add.shtml(.*) /cgi-bin/restricted/posts-add.py
  RewriteRule ^blog.shtml(.*) cgi-bin/blog.py
  RewriteRule ^blog-add.shtml(.*) /cgi-bin/restricted/blog-add.py
But I don't think the browser could detect that (other than the fact
that it's passing GET variables to a static page), even if it wanted
to.

> Google does it, in fact the modify the link immediately after you click
> on it.  As you can see in the status bar there is reported the original
> link but when you click there, your browser is redirected to another
> google web page.

Hm. You are right. I guess I didn't notice that the status-bar link
changed after I click on it or ... even after I simply copy the link
(by right-clicking). Then the question is ... should IceCat be warning
me about that now? Because it's not.

I'll try posting a better bug report when/if I can reproduce the odd
behavior I was seeing earlier (... like for past two weeks).

Regards,

Andrzej




reply via email to

[Prev in Thread] Current Thread [Next in Thread]