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

[Bug]: termux-file-editor running after sharing links with unknown/not included uri schemes #3935

Open
macearl opened this issue Apr 30, 2024 · 0 comments

Comments

@macearl
Copy link

macearl commented Apr 30, 2024

Problem description

When sharing URLs which are not part of the WEB_URL pattern from AOSP or Magnet links (added through #1339 ).

The file editor gets opened instead of the url opener.

I would suggest adding at least these URI schemes as well:

  • gopher
  • irc
  • irc6
  • ircs
  • jabber
  • mailto
  • nfs
  • nzblnk
  • rtmp
  • sftp
  • smb

Steps to reproduce the behavior.

Example for SFTP:

  1. Install the midnight commander (pkg install mc)
  2. Share a SFTP link with termux

What is the expected behavior?

The url opener script should be executed or an error message, that the url opener does not exist should be shown instead the file opener / editor is shown

System information

(not really relevant)

  • Termux application version: 0.118.0
  • Android OS version: 14
  • Device model: Xiaomi Poco F1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant