Просмотр исходного кода

feat(sanitizer): add iOS Shortcuts `shortcuts:` scheme to validURISchemes

Miniflux sanitizer filters allowed URL schemes, but `shortcuts:` is not included. `shortcuts:` is an official Apple scheme (https://support.apple.com/guide/shortcuts/run-a-shortcut-from-a-url-apd624386f42/ios), similar eg. to already added `itms-apps`
Mateusz Jabłoński 1 месяц назад
Родитель
Сommit
a684b6ac73
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      internal/reader/sanitizer/sanitizer.go

+ 1 - 0
internal/reader/sanitizer/sanitizer.go

@@ -180,6 +180,7 @@ var (
 		"sftp:",
 		"sftp:",
 		"sip:",
 		"sip:",
 		"sips:",
 		"sips:",
+		"shortcuts:",
 		"skype:",
 		"skype:",
 		"spotify:",
 		"spotify:",
 		"ssh:",
 		"ssh:",