KasmVNC icon indicating copy to clipboard operation
KasmVNC copied to clipboard

HTTP Headers with `=` give unrecognized option

Open philipbjorge opened this issue 5 months ago • 1 comments

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) 

philipbjorge avatar Jul 16 '25 18:07 philipbjorge

Confirmed. We are about to release 1.4.0, so a fix won't make it in for that, but will try to get into the following release.

mmcclaskey avatar Aug 20 '25 11:08 mmcclaskey