[제나플러스] 카테고리에서 특정 글자로 인해 문제 발생시 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] 카테고리에서 특정 글자로 인해 문제 발생시

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 47,231회 작성일 13-11-08 23:36

본문

/common.php

if (isset($sca))  {
    $sca = mysql_real_escape_string($sca);
    $sca = stripslashes($sca);
    $qstr .= '&sca=' . urlencode($sca);
}

if (isset($sfl))  {
    $sfl = mysql_real_escape_string($sfl);
    // 크롬에서만 실행되는 XSS 취약점 보완
    // 코드 $sfl 변수값에서 < > ' " % = ( ) 공백 문자를 없앤다.
    $sfl = preg_replace("/[\<\>\'\"\%\=\(\)\s]/", "", $sfl);
    //$sfl = preg_replace("/[^\w\,\|]+/", "", $sfl);
    $qstr .= '&sfl=' . urlencode($sfl); // search field (검색 필드)
}

if (isset($stx))  { // search text (검색어)
    $stx = mysql_real_escape_string($stx);
    $stx = stripslashes($stx);
    $qstr .= '&stx=' . urlencode($stx);
}

댓글목록

등록된 댓글이 없습니다.

Total 829건 8 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
654 제로 58145 11-20
653 제로 78321 11-19
652 제로 45698 11-17
651 제로 50303 11-17
650 제로 64092 11-07
649 제로 77251 10-24
648 제로 67149 10-22
647 제로 75458 10-07
646 제로 71186 07-02
645 제로 61481 06-18
644 제로 62977 06-11
643 제로 67784 06-11
642 제로 60353 05-09
641 제로 67674 05-02
640 제로 70630 03-29
639 제로 65857 01-22
638 제로 61933 01-09
637 제로 71232 01-08
636 제로 67767 01-06
635 제로 87818 12-31
634 제로 69881 12-26
633 제로 66985 12-24
632 제로 69458 12-01
631 제로 66473 11-21
열람중 제로 47232 11-08

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
44,937
어제
25,218
최대
431,155
전체
7,320,730
Copyright (c) 株式会社YHPLUS. All rights reserved.