Closed Bug 932921 Opened 11 years ago Closed 10 years ago

airtel.in isn't redirecting to mobile site on Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: haseeb, Assigned: haseeb)

References

()

Details

(Whiteboard: [mobile-compat-form][country-in][clientsniff][sitewait])

Site: http://www.airtel.in/forme/home
airtel.in isn't redirecting to mobile site on Firefox OS

:: Steps To Reproduce

1.Open Firefox browser
2.Enter airtel.in


:: Expected Result

http://m.airtel.in/ mobile site, redirects on Android

:: Actual Result

http://www.airtel.in/forme/home Desktop site

:: Additional Information

Software Version: Firefox OS simulator 4.0
Reporter's User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36
There's an inline script on the page that tries to decide if you're using a mobile device:

var checker = "";
if(getUrlParams().source != "wap"){
	checker = {
	   mobile: ua.match(/(android|avantgo|htc|micromax|symbian|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|iphone|iris|kindle|lge|maemo|midp|mmp|netfront|opera mob|opera mini|opera palm|phone|plucker|pocket|psp|symbian|treo|vodafone|wap|windows ce|windows phone|xda)/)
	};
}

//alert(checker.mobile);
if(checker.mobile){
	window.location = "http://m.airtel.in";
}

The suggested fix would be to add |mobi| inside their regex to catch FirefoxOS users (and probably a handful of other mobile devices that they miss).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-in][clientsniff][contactready]
Contacted via email 121@airtel.co.in
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready] → [mobile-compat-form][country-in][clientsniff][contactready][sitewait]
Assignee: nobody → Abdulraufhaseeb
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready][sitewait] → [mobile-compat-form][country-in][clientsniff][sitewait]
airtel.in refused to fix it. Got a call from +919971110802
Dude over the phone said something like this " Its default sir and we can't change it, if you want to use type directly m.airtel.in "
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.