Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smart.link - Incorrect redirect #78962

Closed
webcompat-bot opened this issue Jul 2, 2021 · 3 comments
Closed

smart.link - Incorrect redirect #78962

webcompat-bot opened this issue Jul 2, 2021 · 3 comments
Labels
browser-firefox-ios os-ios Issues only happening on iOS. priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it.
Milestone

Comments

@webcompat-bot
Copy link

webcompat-bot commented Jul 2, 2021

URL: https://smart.link/5a1bf9d9e3404?pf_rd_p=132617f2-a812-46a1-8efe-b6a948cda3d5

Browser / Version: Firefox iOS 34.2
Operating System: iOS 14.6
Tested Another Browser: No

Problem type: Site is not usable
Description: Page not loading correctly
Steps to Reproduce:
The link does not open but asks you whether you want to open the app instead. You can either confirm or abort but not open the link in the browser. So this is not a comparability issue.

Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added the action-needsmoderation The moderation has not yet been completed label Jul 2, 2021
@webcompat-bot webcompat-bot added this to the needstriage milestone Jul 2, 2021
@webcompat-bot webcompat-bot added the browser-fixme This requires manual assignment for the browser name label Jul 2, 2021
@webcompat-bot webcompat-bot changed the title In the moderation queue. smart.link - site is not usable Jul 2, 2021
@webcompat-bot webcompat-bot added browser-firefox-ios os-ios Issues only happening on iOS. and removed action-needsmoderation The moderation has not yet been completed browser-fixme This requires manual assignment for the browser name labels Jul 2, 2021
@softvision-oana-arbuzov softvision-oana-arbuzov changed the title smart.link - site is not usable smart.link - Incorrect redirect Jul 2, 2021
@softvision-oana-arbuzov softvision-oana-arbuzov added priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. labels Jul 2, 2021
@softvision-oana-arbuzov
Copy link
Member

Thanks for the report, I was able to reproduce the issue. Tapping "Ok" button redirects to a blank page.
image

Note:

  1. The issue is also reproducible on Safari.
  2. The issue is not reproducible on Chrome, where redirect to "Audible" app page is performed.

Tested with:
Browser / Version: Firefox Daylight 34.2 (5301)
Operating System: iPod touch iOS 12.5.4 (1136 x 640 pixels (~326 ppi pixel density)

Moving to Needsdiagnosis for further investigation.

@karlcow
Copy link
Member

karlcow commented Oct 22, 2021

Let's try on the CLI.

❯ http GET 'https://smart.link/5a1bf9d9e3404?pf_rd_p=132617f2-a812-46a1-8efe-b6a948cda3d5'
HTTP/1.1 302 Found
Alt-Svc: clear
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Content-Length: 0
Date: Fri, 22 Oct 2021 01:07:00 GMT
Location: https://www.audible.de/lib
Pragma: no-cache
Via: 1.1 google

but if I send it with a Firefox iOS UA, I get a different response.

http GET 'https://smart.link/5a1bf9d9e3404?pf_rd_p=132617f2-a812-46a1-8efe-b6a948cda3d5' 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/34.2  Mobile/15E148 Safari/605.1.15'
HTTP/1.1 200 OK
Alt-Svc: clear
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Fri, 22 Oct 2021 01:09:52 GMT
Pragma: no-cache
Transfer-Encoding: chunked
Vary: Accept-Encoding
Via: 1.1 google

<html>
<head>
	<meta http-equiv="refresh" content="1"; url="https://itunes.apple.com/us/app/audiobooks-from-audible/id379693831?mt=8">
</head>
<body>
	
<script type="text/javascript">
	window.onload = function() {
		window.location = "audible://view?section=library";
		setTimeout(function timeout() {
			window.location = "https://itunes.apple.com/us/app/audiobooks-from-audible/id379693831?mt=8";
		}, 1000);
	}
</script>
</body>
</html>

The interesting part is that it is trying to load audible://view?section=library and then after a while the itunes page.

@karlcow
Copy link
Member

karlcow commented Oct 22, 2021

Duplicate of mozilla-mobile/firefox-ios#9395

@karlcow karlcow marked this as a duplicate of mozilla-mobile/firefox-ios#9395 Oct 22, 2021
@karlcow karlcow closed this as completed Oct 22, 2021
@karlcow karlcow modified the milestones: needsdiagnosis, duplicate Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox-ios os-ios Issues only happening on iOS. priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it.
Projects
None yet
Development

No branches or pull requests

4 participants