mozilla-mobile / focus_foxfooding_campaign

3 stars 0 forks source link

On iOS Firefox Focus fails to open links shared with it by other apps that don’t start with http:// or https:// #77

Closed mozilla-campaign-form-bot closed 2 years ago

mozilla-campaign-form-bot commented 2 years ago

Firefox Version: Mozilla/5.0 (iPhone; CPU OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/9000 Mobile/15E148 Safari/605.1.15 Window Size (inner width and height): 375x744 GitHub Username: @Draykan

Steps to Reproduce

1) Open Telegram (I reproduced the issue with Telegram v8.1). 2) Tap on “Settings” in the lower right corner of the screen. 3) Tap on “Saved Messages”. 4) Write and send this exact message: “mozilla.org”. 5) Tap and hold the Mozilla URL in the chat area to display the contextual menu. 6) Tap on the “Open in…” menu item. 7) Tap on Firefox Focus.

Expected Behavior

Firefox Focus should open the URL.

Actual Behavior

Firefox Focus opens but doesn’t load any URL. If there was a web page already loaded in Firefox Focus, that page is retained. If there wasn’t a web page already loaded in Firefox Focus, a completely white page is displayed, the trash icon remains not enabled, the address bar is empty but if you tap on it you will see the “mozilla.org” text already filled in. Please note that if the Telegram message is changed to “http://mozilla.org” or “https://mozilla.org”, the problem doesn’t occur.

st3fan commented 2 years ago

I am pretty sure we fixed this in Focus 36 with https://github.com/mozilla-mobile/focus-ios/pull/1972

I think this patch may not have survived the merge of the refresh branch into main. I'll mark this as a bug and regression.

st3fan commented 2 years ago

I filed a new issue to address this https://github.com/mozilla-mobile/focus-ios/issues/2415

st3fan commented 2 years ago

This will be fixed with https://github.com/mozilla-mobile/focus-ios/pull/2416