Closed Bug 964607 Opened 8 years ago Closed 6 years ago

portail.free.fr sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: karlcow, Assigned: karlcow)

References

()

Details

(Whiteboard: [clientsniff] [country-fr] [sitewait])

Attachments

(1 file)

Attached image 075.png
The script 
http://img3.free.fr/2008/portail/new/js/portail.js?ord=290313

has a client side code for the redirection which doesn't take into account firefox os

// Redirect mobile
var redirectmobile_t=location.search.substring(1).split('.html');
var redirectmobile_a="Android,Blackberry,BlackBerry,Blazer,Handspring,iPhone,iPod,iPad,Kyocera,LG,Motorola,Nokia,NOKIA,Palm,PlayStation Portable,Samsung,Smartphone,SonyEricsson,Symbian,WAP,WindowsCE,IEMobile,Minimo,Kindle".split(",");
var redirectmobile_d=redirectmobile_a.length;
var redirectmobile_b=navigator.userAgent;
if(redirectmobile_t!="1"){
	for(redirectmobile_e=0;redirectmobile_e<redirectmobile_d;redirectmobile_e++){
		if(redirectmobile_b.indexOf(redirectmobile_a[redirectmobile_e])!=-1){
			window.location = "http://portail.free.fr/m/";
			break
		}
	}
}
Problem forwarded to Free via Twitter : https://twitter.com/valeryan24/status/428226299572662272

http://i.imgur.com/v0Dkecj.png
Whiteboard: [clientsniff] [country-fr] [contactready] → [clientsniff] [country-fr] [sitewait]
Someone who knew someone has forwarded the information. 
To check in a couple of weeks, if it has been solved.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Trying to contact another person.
http://twitter.com/MozWebCompat/status/574711291715026945
We are receiving the mobile content. 
FIxed.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.