From: Naoto Yamaguchi Date: Sun, 13 Oct 2024 05:40:31 +0000 (+0900) Subject: Remove HTML5 guest support from momiweb X-Git-Tag: 18.91.0~21 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=00fd6f47a11bf6f9fc7270ce9953af4e22bbb077;p=AGL%2Fmeta-agl-devel.git Remove HTML5 guest support from momiweb HTML5 demo IVI support was dropped in AGL IVI demo. But that guest support was not removed completely. This patch remove HTML5 demo IVI support from momiweb Bug-AGL: SPEC-5262 Change-Id: I0f48b0df0020c4b51419f3fe0e88cb2a0724defa Signed-off-by: Naoto Yamaguchi --- diff --git a/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf index 0343867e..e1ad514a 100644 --- a/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf +++ b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf @@ -8,3 +8,7 @@ alias.url = ( "/cgi-bin" => "/www/cgi-bin" ) $HTTP["url"] =~ "^/cgi-bin" { cgi.assign = ( ".cgi" => "/bin/sh") } +setenv.set-response-header = ( + "x-content-type-options" => "nosniff", +) +mimetype.assign += ( ".svg" => "image/svg+xml" ) diff --git a/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb b/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb index 0de33dd9..b95240ac 100644 --- a/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb +++ b/meta-agl-ic-container/recipes-demo/momiweb/momiweb_git.bb @@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" PV = "0.1.0" -SRC_URI = "git://github.com/agl-ic-eg/momiweb.git;protocol=https;branch=main \ +SRC_URI = "git://github.com/agl-ic-eg/momiweb.git;protocol=https;branch=agl-master \ file://momiweb.conf \ " -SRCREV = "cfdfdd670a83558a408bafa7b0262381313b907d" +SRCREV = "e720ea92df37da05ba33fc7abb4c4822f58dbcf1" S = "${WORKDIR}/git"