Closed Bug 241462 Opened 21 years ago Closed 16 years ago

deccan.com - bad server-side user-agent sniffing means clicking any link produces vbscript error

Categories

(Tech Evangelism Graveyard :: English Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sanubolu, Unassigned)

References

()

Details

(Whiteboard: [bug248549notfixed])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040422 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a) Gecko/20040422 Firefox/0.8 the news site http://www.deccan.com/ uses vbscript. clicking on a link such as http://deccan.com/home/homedetails.asp#Congress%20loses%20its%20%E2%80%98Hand%E2%80%99 takes me to vbscript error message "Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'mid' D:\DECCAN\HOME\./../flashnews/flashnews.asp, line 180" This website works correctly with IE browser Reproducible: Always Steps to Reproduce: 1.goto http://www.deccan.com/ 2.click on any link (it is news site) 3. OR go to http://deccan.com/home/homedetails.asp#Congress%20loses%20its%20%E2%80%98Hand%E2%80%99 Actual Results: Invalid procedure call or argument: 'mid' D:\DECCAN\HOME\./../flashnews/flashnews.asp, line 180" Expected Results: display the news
Hi Surendra, I'm pretty sure this is because Mozilla doesn't support VBScript at all (see bug bug 41274). Your page gives the same error in both Seamonkey and Firefox, and on Mac OS X too. Incidentally Safari on Mac gives the same error. *** This bug has been marked as a duplicate of 41274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Component: General → Browser-General
OS: Windows 2000 → All
Product: Firefox → Browser
Hardware: PC → All
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Actually that diagnosis isn't correct. Mozilla wouldn't give a VBscript error because, as you say, it doesn't support VBscript. In fact, the error is being generated by script running on the server. Spoofing the user-agent as IE the page works fine. So evidently the script on the server is badly written and can't handle Mozilla or Firefox user-agent strings.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** Bug 246434 has been marked as a duplicate of this bug. ***
Assignee: firefox → english-other
Status: UNCONFIRMED → NEW
Component: Browser-General → English Other
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: english-other
Summary: clikcing any link on website http://www.deccan.com/ produces vbscript error → deccan.com - bad server-side user-agent sniffing means clicking any link produces vbscript error
Version: Trunk → unspecified
*** Bug 252321 has been marked as a duplicate of this bug. ***
Whiteboard: [bug248549notfixed]
Works fine in both Firefox 2 and Camino-trunk now. Fixed?
sure
Status: NEW → RESOLVED
Closed: 21 years ago16 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.