Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: restrict successful url launch to only http/https (#5028)
Richard Shiue440253f0d920
diff --git a/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/url_cell_bloc.dart b/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/url_cell_bloc.dartindex 299e8ced61..fe52a73aac 100644--- a/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/url_cell_bloc.dart+++ b/frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/url_cell_bloc.dart@@ -72,10 +72,6 @@ class URLCellBloc extends Bloc<URLCellEvent, URLCellState> {const linkPrefix = ['http://','https://',- 'file://',- 'ftp://',- 'ftps://',- 'mailto:',];final shouldAddScheme =!linkPrefix.any((pattern) => content.startsWith(pattern));