mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-25 08:53:12 +01:00
Merge branch 'bugfix/KASM-5283_upload_filename_sanitization' into 'develop'
Resolve KASM-5283 "Bugfix/ upload filename sanitization" Closes KASM-5283 See merge request kasm-technologies/internal/workspaces-core-images!151
This commit is contained in:
commit
302590dee5
@ -239,7 +239,7 @@ function start_audio_in (){
|
|||||||
function start_upload (){
|
function start_upload (){
|
||||||
if [[ ${KASM_SVC_UPLOADS:-1} == 1 ]]; then
|
if [[ ${KASM_SVC_UPLOADS:-1} == 1 ]]; then
|
||||||
echo 'Starting upload server'
|
echo 'Starting upload server'
|
||||||
$STARTUPDIR/upload_server/kasm_upload_server --ssl --auth-token "kasm_user:$VNC_PW" &
|
$STARTUPDIR/upload_server/kasm_upload_server --ssl --auth-token "kasm_user:$VNC_PW" --port 4902 --upload_dir ${HOME}/Uploads &
|
||||||
|
|
||||||
KASM_PROCS['upload_server']=$!
|
KASM_PROCS['upload_server']=$!
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@ set -ex
|
|||||||
|
|
||||||
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
|
||||||
mkdir $STARTUPDIR/upload_server
|
mkdir $STARTUPDIR/upload_server
|
||||||
wget --quiet https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_upload_service/dc82ed90ac44ddd05cbd08ae6968aaabebe0a6fe/kasm_upload_service_${ARCH}_develop.dc82ed.tar.gz -O /tmp/kasm_upload_server.tar.gz
|
wget --quiet https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_upload_service/a22519ef70d05fd50099196ff6cb3dd8cb2ed13c/kasm_upload_service_${ARCH}_develop.a22519.tar.gz -O /tmp/kasm_upload_server.tar.gz
|
||||||
tar -xvf /tmp/kasm_upload_server.tar.gz -C $STARTUPDIR/upload_server
|
tar -xvf /tmp/kasm_upload_server.tar.gz -C $STARTUPDIR/upload_server
|
||||||
rm /tmp/kasm_upload_server.tar.gz
|
rm /tmp/kasm_upload_server.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user