Skip to content

HTTP Headers with = give unrecognized option #336

@philipbjorge

Description

@philipbjorge

Describe the bug

I am trying to add a Permissions-Policy header to allow clipboard access to an embedded iframe instance of kasmvnc.

System Description
Provide the output of

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux ccba5c87a0b6 6.8.0-50-generic #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov  9 18:03:35 UTC 2024 aarch64 GNU/Linux

KasmVNC Details
https://github.com/kasmtech/KasmVNC/releases/download/v1.3.4/kasmvncserver_bookworm_1.3.4_arm64.deb

Provide the output of this command.

Xvnc KasmVNC 1.3.4.e647af5e281735d1c7fc676ca089201aeae7130a - built Mar 24 2025 13:08:33
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12101007

To Reproduce

vncserver -fg -http-header Permissions-Policy=clipboard-read=*,clipboard-write=*

Expected behavior

The server starts and returns these headers

Actual behavior

Fatal server error:
(EE) Unrecognized option: -http-header
(EE) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions