mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
Tighten the URL check.
This commit is contained in:
1 parent
fd4084cc54
commit
9770751298
1 file changed
+1
-1
@@ -53,7 +53,7 @@ extension AppDelegate: AppDelegateAppleEvents {
|
||||
}
|
||||
|
||||
// Handle themes
|
||||
if urlString.hasPrefix("netnewswire://theme") {
|
||||
if urlString.hasPrefix("netnewswire://theme/") {
|
||||
guard let comps = URLComponents(string: urlString),
|
||||
let queryItems = comps.queryItems,
|
||||
let themeURLString = queryItems.first(where: { $0.name == "url" })?.value else {
|
||||
|
||||
Reference in new issue
Block a user