From 7d0dcf01dff9cc507ef63da426f3532f5fbe0566 Mon Sep 17 00:00:00 2001 From: Beq Date: Mon, 28 Aug 2023 00:23:03 +0100 Subject: [PATCH] only allow valid chars in bugsplat dbname --- scripts/configure_firestorm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configure_firestorm.sh b/scripts/configure_firestorm.sh index 9d118e3c6a..1255293d54 100755 --- a/scripts/configure_firestorm.sh +++ b/scripts/configure_firestorm.sh @@ -527,7 +527,7 @@ if [ $WANTS_CONFIG -eq $TRUE ] ; then CRASH_REPORTING="-DRELEASE_CRASH_REPORTING=ON" if [ ! -z $CHANNEL_SIMPLE ] then - CRASH_REPORTING="$CRASH_REPORTING -DUSE_BUGSPLAT=On -DBUGSPLAT_DB=firestorm_"`echo $CHANNEL_SIMPLE | tr [:upper:] [:lower:] | sed -e 's/x64//' | sed -e 's/_//g'` + CRASH_REPORTING="$CRASH_REPORTING -DUSE_BUGSPLAT=On -DBUGSPLAT_DB=firestorm_"`echo $CHANNEL_SIMPLE | tr [:upper:] [:lower:] | sed -e 's/x64//' | sed 's/[^A-Za-z0-9]//g'` fi else CRASH_REPORTING="-DRELEASE_CRASH_REPORTING:BOOL=OFF"