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

Opening relative link crashes the app #936

Open
stepanzak opened this issue Jan 2, 2025 · 0 comments
Open

Opening relative link crashes the app #936

stepanzak opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@stepanzak
Copy link

stepanzak commented Jan 2, 2025

1. Environment

  • Device: [Samsung Galaxy S20 Ultra 5G]
  • OS: [Android 14]
  • APP: [0.11.1]

2. Describe the bug
Clicking on a relative link crashes the app.
Take this article:
https://blog.ploeh.dk/2024/12/30/pytest-is-fast/
Feed: https://blog.ploeh.dk/rss
There's this segment in the rss xml file:

As regular readers may have noticed, this is <a href="/2021/08/09/am-i-stuck-in-a-local-maximum">a bias that doesn't sit well with me</a>. Clearly, there are advantages to dynamic languages that I fail to notice. Is it <a href="/2024/12/09/implementation-and-usage-mindsets">a question of mindset</a>? Or is it a combination of several small advantages? </p> <p> In this article, I'll discuss another potential benefit of at least one dynamically typed language, <a href="https://www.python.org/">Python</a>.

Clicking on the first two links crashes the app, as they are relative.
This is the intent I got by setting link opening to "always ask" in settings and opening it in App Manager's Interceptor.
Any other setting just crashes the app.

URI	intent:blank#blocked#Intent;scheme=about;launchFlags=0x3400000;end

VERSION	1
ACTION	android.intent.action.VIEW
DATA	about:blank#blocked
FLAGS	0x3400000

MATCHING ACTIVITIES	2
0	LABEL  	Interceptor
 	NAME   	io.github.muntashirakon.AppManager.intercept.ActivityInterceptor
 	PACKAGE	io.github.muntashirakon.AppManager
1	LABEL  	Cromite
 	NAME   	com.google.android.apps.chrome.IntentDispatcher
 	PACKAGE	org.cromite.cromite

Clicking on the third link (python) works just fine.
After clicking on the button at the bottom-right corner of the screen - "parse full content", all the links become clickable, even the first two.

@stepanzak stepanzak added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant