Skip to content

webfetch: always-allow scoped to domain instead of all URLs #37183

Closed as not planned

Description

@mgajda

When a user clicks "always allow" on a WebFetch permission prompt, the saved pattern is * which permits ALL future URLs without asking. The always-allow should be scoped to the current domain (e.g. https://github.com/*) so the user can safely allow a domain without opening every URL.

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

    This issue does not fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. This project requires one of: Bug Report, Feature Request, or Question
    • Missing required fields: no OpenCode version, no operating system/terminal info, no steps to reproduce, no screenshot or share link
    • Bug reports should include context on how to reproduce the behavior (e.g., steps to trigger the "always allow" prompt and observe the saved pattern)

    Please edit this issue to use the appropriate template and fill in the required fields within 2 hours, or it will be automatically closed.


    If you believe this was flagged incorrectly, please let a maintainer know.

  2. added
    needs:compliance
    on Jul 15, 2026
  3. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  4. removed
    needs:compliance
    on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions