瀏覽代碼

修复QRCode XSS跨站脚本漏洞

tags/6.0.0
tianya 4 年之前
父節點
當前提交
435c2a4b0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/plus/qrcode.php

+ 1
- 1
src/plus/qrcode.php 查看文件

@@ -5,7 +5,7 @@ require_once(dirname(__FILE__).'/../include/common.inc.php');
require_once(DEDEINC.'/qrcode.class.php');
$action = isset($action)? $action : '';
$type = isset($type)? $type : '';
$type = isset($type)? RemoveXSS(HtmlReplace($type,3)) : '';
$id = (isset($id) && is_numeric($id)) ? $id : 0;
if ( !in_array($type,array('list','arc','index')) ) $url = "http://2v.dedecms.com";


Loading…
取消
儲存