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

Fix url parsing from shared content #3278

Merged
merged 2 commits into from Mar 28, 2020

Conversation

mauriciocolli
Copy link
Contributor

What is it?

  • Bug fix
  • Feature

Long description of the changes in your PR

Fix bug where urls from shared content were not being completed returned.

It happened when the app tried to find urls from the shared content and the url ended with one of the incorrectly considered "invalid" characters (e.g. _).

This is a pretty old issue, surprised that no one bumped into it in 3 years (!!!).

Fixes the following issue(s)

Fixes #3277

Testing APK

fix-url-parsing-share.apk.zip

@mauriciocolli mauriciocolli added the bug Issue is related to a bug label Mar 27, 2020
@opusforlife2
Copy link
Collaborator

Wow, you're in form today! PR after PR.

Anyway, I tried the apk and can confirm this is fixed.

Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need the license here

app/src/main/java/org/schabi/newpipe/util/UrlFinder.kt Outdated Show resolved Hide resolved
@TobiGr TobiGr merged commit d051df9 into TeamNewPipe:dev Mar 28, 2020
This was referenced Mar 29, 2020
@mauriciocolli mauriciocolli deleted the fix-url-parsing-share branch March 30, 2020 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when sharing a certain playlist to Newpipe
3 participants