소스 검색

修复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";


불러오는 중...
취소
저장