issues
search
poppingmoon
/
aria
A cross-platform Misskey client built with Flutter
https://misskey.io/@aria_app
GNU Affero General Public License v3.0
136
stars
5
forks
source link
fix: check scheme when pasting a link
#462
Closed
poppingmoon
closed
4 weeks ago
poppingmoon
commented
4 weeks ago
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.
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.