Skip to content

The added automation integration does not work anymore #5072

Closed

Description

@AmintaCCCP

Platform

Desktop - macOS

Describe the bug

#4134 提的feature,上线后一直正常使用。
最近用不了了,在用自定义集成调取 URL Scheme时报错:

URL scheme failed: Error invokingremote method'integration.openURLScheme': Error:URL scheme "各种应用://" is notallowed. Allowed schemes: bear,drafts, http, https, mailto, notion,obsidian, things, x-devonthink.

看上去像是加了白名单,不知道出于什么考虑。
之前之所以提那个feature就是为了补足内置集成不足的问题,现在加了白名单,我之前添加的各种集成都不能用了,很多都是小众应用。
如果是白名单导致的,建议把白名单去掉。自定义集成都是用户自己添加的,传参都是用户自己定义的,会添加的用户对结果有预期,不存在安全隐患。

Entry ID

No response

Relevant Information

No response

Reproduction Video

No response

Environment

No response

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • This issue is valid

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Activity

  1. added theissue type on Aug 11, 2026
  2. github-actions commented on Aug 11, 2026

    @github-actions
    Contributor

    Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


    Platform

    Desktop - macOS

    Describe the bug

    The feature mentioned in #4134 has been used normally since it went online.
    It has recently become unavailable. When using custom integration to call URL Scheme, I get an error:

    URL scheme failed: Error invokingremote method'integration.openURLScheme': Error:URL scheme "various applications://" is notallowed. Allowed schemes: bear,drafts, http, https, mailto, notion,obsidian, things, x-devonthink.
    

    It looks like it was added to the whitelist, I don’t know why.
    The reason why I mentioned that feature before was to make up for the lack of built-in integration. Now that I have added a whitelist, the various integrations I added before cannot be used, and many of them are niche applications.
    If it is caused by the whitelist, it is recommended to remove the whitelist. Custom integrations are all added by users themselves, and parameters are defined by users themselves. Users who add them have expectations for the results, and there are no security risks.

    Entry ID

    No response

    Relevant Information

    No response

    Reproduction Video

    No response

    Environment

    No response

    Validations

    • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
    • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
    • This issue is valid

    Contributions

    • I am willing to submit a PR to fix this issue
    • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
  3. changed the title [-]添加的自动化集成都用不了了[/-] [+]The added automation integration does not work anymore[/+] on Aug 11, 2026
  4. DIYgod commented on Aug 15, 2026

    @DIYgod
    Member

    Fixed on dev in 7c220c69a.

    User-defined URL schemes are supported again. Built-in schemes continue to open directly, known dangerous schemes remain blocked, and any other valid custom scheme is opened only after confirmation in a native dialog. Canceling the dialog prevents the scheme from being handed to the OS.

    Validation completed successfully:

    • Turbo format, typecheck, and lint: 22/22 tasks (0 errors)
    • Turbo tests: 9/9 tasks
    • Electron main-process tests: 65 passed

    The fix will be included in a future desktop release.

  5. DIYgod commented on Sep 26, 2026

    @DIYgod
    Member

    Fixed in 7c220c6 and released in desktop v1.13.0: custom URL schemes work again, and schemes that aren't built in open after a native confirmation dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions