mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
Ignore netnewswire: URLs that are not theme installs.
This commit is contained in:
1 parent
8b261521f3
commit
4287e1e5dd
1 file changed
+5
@@ -66,6 +66,11 @@ extension AppDelegate: AppDelegateAppleEvents {
|
||||
return
|
||||
}
|
||||
|
||||
// Ignore other netnewswire: URLs rather than treating them as feeds
|
||||
if urlString.lowercased().hasPrefix("netnewswire:") {
|
||||
return
|
||||
}
|
||||
|
||||
// Special case URL with specific scheme handler x-netnewswire-feed: intended to ensure we open
|
||||
// it regardless of which news reader may be set as the default
|
||||
let nnwScheme = "x-netnewswire-feed:"
|
||||
|
||||
Reference in new issue
Block a user