Closed Bug 1116475 Opened 9 years ago Closed 8 years ago

Subaru.com vehicle page redirect loop

Categories

(Web Compatibility :: Site Reports, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kbrosnan, Unassigned)

References

()

Details

(Whiteboard: [country-us] [js] [contactready])

STR: 
* load http://www.subaru.com (in the USA?)
* click on any of the car lines
* redirect loop starts

Loading Subaru.com on desktop Firefox with a Firefox for Android user agent results in quick page load and the redirect loop issue does not happen.
We hit this code, first if() clause:

enquire.register("screen and (min-width:40.1em)", function() {
    if (!$("body").hasClass("vsp")) {
        window.location = linkPrefix + "index.html";
    } else if ((urlRequested + urlVars) == (linkPrefix + "vehicles/xv-crosstrek/special-features.html?intcmp=hybrid") && $("html").hasClass("mobile") && !$("html").hasClass("ipad")) {
        window.location = linkPrefix + "mobile/vehicles/xv-crosstrek/hybrid.html?intcmp=hybrid";
    }
});
Summary: Suburu.com vehicle page redirect loop → Subaru.com vehicle page redirect loop
There's no obvious bug on our side - the screen is wider than the given min-width. So the JS needs to be fixed (or the expected class name added elsewhere).
Whiteboard: [country-us] [js] [contactready]
This is resolved.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
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.