Closed Bug 282677 Opened 20 years ago Closed 18 years ago

mercatoelettrico.org - Site blocks Mozilla/Netscape/Opera (browser sniffing)

Categories

(Tech Evangelism Graveyard :: Italian, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: devotip, Assigned: lorenzo)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050214
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050214

Opening url with Mozilla goes to a 404 page while with IE the site is accessible.
Maybe it's a pure evang issue, I can't tell.

Reproducible: Always

Steps to Reproduce:
1.open url
Actual Results:  
404 page

Expected Results:  
home page
The link opens http://www.mercatoelettrico.org/Default.htm which contains the
following script, executed onload of body tag.

<SCRIPT LANGUAGE="JavaScript">
function GetBrowser()
{
  var style;
  var version=parseInt(navigator.appVersion.substring(0,1));
  if (navigator.appName == "Opera")
  {
    window.location="PostInfo.html" ;
  }
  else
  {
    if (navigator.appName == "Netscape")
    {
      window.location="PostInfo.html" ;
    }
    else
    {    
      if (navigator.browserLanguage== "it")
      {
        window.location="GmewebItaliano/Default.aspx";
      }
      else
      {
        window.location="GmeWebInglese/Default.aspx";
      }
    }  
  }  
}
</SCRIPT>


So the all Mozilla/NS/Opera browsers are redirected to
http://www.mercatoelettrico.org/PostInfo.html. But this page does not exist, so
you only see a 404 error page.

So clearly a tech evang bug. Please inform the webmaster about this.

Real main page is
http://www.mercatoelettrico.org/GmewebItaliano/Default.aspx (it)
http://www.mercatoelettrico.org/GmeWebInglese/Default.aspx (en)
Assignee: general → italian
Status: UNCONFIRMED → NEW
Component: General → Italian
Ever confirmed: true
Product: Mozilla Application Suite → Tech Evangelism
QA Contact: general → italian
Summary: Site not accessible with mozilla → mercatoelettrico.org - Site blocks Mozilla/Netscape/Opera (browser sniffing)
Te letter sended.
Status: NEW → ASSIGNED
Assignee: italian → lorenzo
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Target Milestone: --- → Mar
No response to TE letter.
Target Milestone: Mar → Future
Tried to open the site with Firefox 2.0.0.1 and it works fine (only shows a warning saying it works better with IE, but works).
Yes, the site has changed and now the problem is gone with the old version.
Marked as FIXED then.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.