{"action":"created","issue":{"url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/12","repository_url":"https://api.github.com/repos/naver/lucy-xss-filter","labels_url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/12/comments","events_url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/12/events","html_url":"https://github.com/naver/lucy-xss-filter/issues/12","id":192443382,"number":12,"title":"XssFilter와 XssSaxFilter의 차이가 무엇인가요?","user":{"login":"mmyyhh","id":6387411,"avatar_url":"https://avatars.githubusercontent.com/u/6387411?v=3","gravatar_id":"","url":"https://api.github.com/users/mmyyhh","html_url":"https://github.com/mmyyhh","followers_url":"https://api.github.com/users/mmyyhh/followers","following_url":"https://api.github.com/users/mmyyhh/following{/other_user}","gists_url":"https://api.github.com/users/mmyyhh/gists{/gist_id}","starred_url":"https://api.github.com/users/mmyyhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmyyhh/subscriptions","organizations_url":"https://api.github.com/users/mmyyhh/orgs","repos_url":"https://api.github.com/users/mmyyhh/repos","events_url":"https://api.github.com/users/mmyyhh/events{/privacy}","received_events_url":"https://api.github.com/users/mmyyhh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T00:37:37Z","updated_at":"2016-11-30T01:48:21Z","closed_at":null,"body":"초보라 그런지 메뉴얼을 열심히 읽어봤는데도 차이를 잘 모르겠네요. 무슨 차이가 있나요?"},"comment":{"url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/comments/263758507","html_url":"https://github.com/naver/lucy-xss-filter/issues/12#issuecomment-263758507","issue_url":"https://api.github.com/repos/naver/lucy-xss-filter/issues/12","id":263758507,"user":{"login":"leeplay","id":7857613,"avatar_url":"https://avatars.githubusercontent.com/u/7857613?v=3","gravatar_id":"","url":"https://api.github.com/users/leeplay","html_url":"https://github.com/leeplay","followers_url":"https://api.github.com/users/leeplay/followers","following_url":"https://api.github.com/users/leeplay/following{/other_user}","gists_url":"https://api.github.com/users/leeplay/gists{/gist_id}","starred_url":"https://api.github.com/users/leeplay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeplay/subscriptions","organizations_url":"https://api.github.com/users/leeplay/orgs","repos_url":"https://api.github.com/users/leeplay/repos","events_url":"https://api.github.com/users/leeplay/events{/privacy}","received_events_url":"https://api.github.com/users/leeplay/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T01:48:21Z","updated_at":"2016-11-30T01:48:21Z","body":"안녕하세요 \r\n\r\n간단히 html 문자열을 파싱할 때 DOM과 SAX방식의 차이점과 메모리 사용량 위주로 이해하시면 될 거 같습니다.\r\n\r\n#### XssSaxFilter의 등장배경\r\n\r\n- XSS Filter 1.2.0 버전부터는 OOM 및 StackOverflowError 문제를 해결한 개선된 SAX 파서 방식의 필터(XssSaxFilter 클래스)를 제공합니다. \r\n- 물론 XssSaxFilter 또한 여전히 OOM이 발생 가능하지만 메모리 사용량이 대폭 감소하였고,StackOverflowError 는 발생하지 않습니다. \r\n- 신규로 XSS Filter를 적용하거나 기존에 메모리 이슈가 있으셨던 분들은 SAX 방식의 필터 사용을 권장합니다.\r\n\r\n#### XssFilter와 XssSaxFilter와의 차이점\r\n\r\n- 아래 링크의 설명이 차이점을 상세히 정리한 내용입니다.\r\nhttps://github.com/naver/lucy-xss-filter/blob/master/docs/manual/kr/03.%20usage%20guide/3.2%20Using%20the%20XssSaxFilter.md\r\n\r\n- 자세히 읽어보셨다고 하시니 좀 더 쉽게 접근 하실려면 XssSaxFilter가 개선형 버전이라 생각하시고 실제 어플리케이션에서 받아들이는 차이점은 아래 두 가지 정도 이해하시면 될 거 같습니다.\r\n\r\n![2016-11-30 10 43 05](https://cloud.githubusercontent.com/assets/7857613/20736463/074f0c28-b6ea-11e6-9a0e-8e86f2c2071b.png)\r\n\r\n![2016-11-30 10 43 13](https://cloud.githubusercontent.com/assets/7857613/20736464/07532d94-b6ea-11e6-8719-64ca4f0e3016.png)\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"leeplay"}}