When using Request Desktop Site, we have a basic algorithm that tries to purge as much as possible from the URL to guarantee that we aren't stuck on a mobile site: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#2989. This hack is in place to address complaints that other browsers face, which is that RDS doesn't seem to do anything on many mobile sites (because a mobile URL still shows a mobile page, regardless of the UA). Although it increases the success rate of switching from a mobile to desktop page, it results in the user being moved to the root of that domain (foo.com/a/b/c -> foo.com). Aside from the fact that users are moved to a different page than the one they were viewing, the root domain may not be meant for viewing, resulting in an error page. Additionally, this hack won't work for sites that don't follow the "m." prefix convention; e.g., i.reddit.com or mobile.twitter.com. While we haven't received many complaints that I know of, this approach is an ugly hack that can break things, so this is more of an add-on territory.
Created attachment 8376460 [details] [diff] [review] Remove Request Desktop Site URL rewrite hack
Attachment #8376460 - Flags: review?(mark.finkle)
Attachment #8376460 - Flags: review?(mark.finkle) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
You need to log in before you can comment on or make changes to this bug.