Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Can't open Brave through share tool from feedly #661

Closed
darkdh opened this issue Dec 20, 2018 · 6 comments
Closed

Can't open Brave through share tool from feedly #661

darkdh opened this issue Dec 20, 2018 · 6 comments

Comments

@darkdh
Copy link
Member

darkdh commented Dec 20, 2018

Description:

image from ios
Nothing happened after I click Brave

FWIW, I share the article to Note and I notice it is not pure URL
It contains title like this
Facebook doesn't need to sell your data. It has been giving it away free for years. https://www.recode.net/2018/12/19/18148517/facebook-data-partnerships-mark-zuckerberg-new-york-times-privacy which is probably the root cause

Steps to Reproduce

  1. Share article on feedly
  2. Click Brave

Actual result:

Expected result:

Reproduces how often: [Easily reproduced, Intermittent Issue]
100%

Brave Version:
1.7.1(18.12.19.01)

Device details:
iPhoneX 12.1.2

Website problems only:

  • did you check with Brave Shields down?
  • did you check in Safari/Firefox (WkWebView-based browsers)?

Additional Information

@danishjafri88
Copy link
Contributor

The text shared has both title and url components mashed into one. This as stated above is not a URL which can be opened. How other browsers handle this:
FF: treats it as a search term and shows dialog to search in ff.
Cake: Opens cake browser
Chrome: No Option is available for chrome(It only takes URL)
Safari: No Option is available for Safari (Only takes URL)
Brave: Nothing Happens

Possible Solutions:

  • Only take URLS
  • Either open as URL or use the text as search item.
  • Show a invalid URL Dialog.

@tildelowengrimm
Copy link

Couldn't we attempt to parse out the URL?

@jhreis jhreis added enhancement QA/Yes release-notes/include blocked: needs info Needs further information before work can commence labels Mar 18, 2019
@jhreis
Copy link
Contributor

jhreis commented Mar 21, 2019

@tomlowenthal yeah, I think that would be a good approach. Are there any security concerns with just parsing out the string, and randomly attempting to identify a URL? Assume we'd pull just the first / last URL (since a string can have multiple)?

@tildelowengrimm
Copy link

@jhreis Obvi we should parse the input safely. But I think that just reading a string until we get something looking like a URL and opening the first one we find is probably the expected behavior.

@jhreis
Copy link
Contributor

jhreis commented Apr 1, 2019

Parse string, and pull just the first possible URL. If no URL is detectable, then fail silently and just open the application (current behavior).

@srirambv
Copy link
Contributor

srirambv commented Sep 5, 2019

Verification passed on iPhone XR with iOS 13 running 1.12(19.9.4.23)

  • Verified using the share button and selecting Brave Beta opens the article
  • Verified using the share button at the bottom of the article and selecting Brave Beta opens the article
  • Verified using either share button on Feedly and opening in Brave with PB mode only turned on loads the article in PB tab
    Feedly.zip

Verification PASSED on iPad Air 3rd Generation with iOS 13.1 running 1.12 (19.09.07.03):

  • ensured that sharing articles from feedly via the bottom & top Share buttons opens Brave and loads the specified article without any issues
  • ensured the above two cases also work when Brave is in PB

Verification PASSED on iPhone 6s+ using iOS 12.4.1 running 1.12 (19.09.13.06):

  • ensured that sharing articles from feedly via the bottom & top Share buttons opens Brave and loads the specified article without any issues
  • ensured the above two cases also work when Brave is in PB

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants