Skip to content

Export: Copy to clipboard not working on Chrome/Firefox, Windows #7275

@angularsen

Description

@angularsen

Problem Description

Export to clipboard as cUrl or HTTPie does not work. Tested on latest Chrome and Firefox, on Windows.
Running in docker, exposed as http://localhost:8081/#/.

image

image

Console error NotAllowedError: Failed to execute 'write' on 'Clipboard': Promises to Blobs were rejected.

image

Steps to reproduce the behavior:

  1. Select flow
  2. Menu - Export - Copy as cUrl

System Information

Docker image sha256:f68ff3ad6b28f9c90b5ff2e220b30e1a0d3ddf6e5556348e870a841e6946deda

Mitmproxy: 11.0.0
Python:    3.11.10
OpenSSL:   OpenSSL 3.3.2 3 Sep 2024
Platform:  Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.31

Things I have tried

  1. Grant clipboard access explicitly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions