Bug 43123: force mobile URLs only for local redirects

Change-Id: Ic3fcceb90fbc0814895adb7cd4c5bc572e01f927
Merge "Bug 43123: force mobile URLs only for local redirects"