Skip to content

이슈 #131 에 대한 추가 패치 #186

@mdsnins

Description

@mdsnins

해당 #131 이슈로 인한 패치가 완벽하게 적용되지 않았습니다.

84a065c 의 host check 하는 커밋 부분은

        // host 가 inicis.com 의 주소가 아니라면 false 반환
        // [scheme] => https, [host] => fcstdpay.inicis.com, [path] => /api/payAuth
        if (preg_match("#inicis\.com$#", $url_data["host"]) == false) {
            // error_log(print_r($url_data, 1));
            return false;
        }

로, 정규표현식 inicis\.com$ 과 매치되는지 확인합니다.
이는 lovediveinicis.com 와 같이, 실제로 inicis.com의 호스트가 아닌 경우에도 preg_match를 통과하게 합니다.

preg_match에 대응되는 정규표현식 패턴을 수정할 필요가 있습니다.

감사합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions