这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@poppingmoon
Copy link
Owner

#375 was intended to work only when pasting a url, but Uri.tryParse() actually parses a text without a scheme, making normal text wrapped in a link syntax. This PR fixes the problem by checking if the parsed url has an http or https scheme.

@poppingmoon poppingmoon merged commit 04cfd12 into main Oct 30, 2024
14 checks passed
@poppingmoon poppingmoon deleted the link-paste-check-scheme branch October 30, 2024 15:30
@poppingmoon poppingmoon mentioned this pull request Nov 9, 2024
@poppingmoon poppingmoon mentioned this pull request Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants