From 1479ee3f3e0e5ce7536a7f6ff3db1ec76f879433 Mon Sep 17 00:00:00 2001 From: Tetsui Ohkubo Date: Mon, 9 Aug 2021 21:29:26 +0900 Subject: [PATCH] LaunchServer: Do not provide file handlers for special files With this change, LaunchServer will always return an empty list of file handlers for special files e.g. sockets and devices. Before this change, TextEditor was always returned as a default handler for these files. --- Userland/Services/LaunchServer/Launcher.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Userland/Services/LaunchServer/Launcher.cpp b/Userland/Services/LaunchServer/Launcher.cpp index 29cf55947b..dfb08bc457 100644 --- a/Userland/Services/LaunchServer/Launcher.cpp +++ b/Userland/Services/LaunchServer/Launcher.cpp @@ -266,6 +266,9 @@ void Launcher::for_each_handler_for_path(const String& path, Function