Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request #13 from stypr/xss-patch
Fix Cross-Site Scripting: Print error message instead
  • Loading branch information
inunosinsi committed Sep 16, 2020
2 parents 4e4413a + c512da9 commit 045a222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/app/webapp/inquiry/admin.php
Expand Up @@ -121,7 +121,7 @@ function main(){
}

if(!SOY2HTMLFactory::pageExists($classPath)){
return $classPath;
return "エラーが発生しました。";
}

$webPage = &SOY2HTMLFactory::createInstance($classPath, array(
Expand Down

0 comments on commit 045a222

Please sign in to comment.