Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purifier whitelist 정책 #484

Closed
jhyeon1010 opened this issue May 31, 2017 · 0 comments
Closed

Purifier whitelist 정책 #484

jhyeon1010 opened this issue May 31, 2017 · 0 comments
Assignees
Milestone

Comments

@jhyeon1010
Copy link
Contributor

wysiwyg 에디터를 사용하여 컨텐츠를 작성하는 경우
purifier 에 의한 필터링으로 인해 원하는 형태의 결과물이 나오지 않는 경우가 발생하여
관련된 요소를 수정하도록 함

@jhyeon1010 jhyeon1010 self-assigned this May 31, 2017
@jhyeon1010 jhyeon1010 assigned ghost Jun 30, 2017
ghost pushed a commit that referenced this issue Jul 7, 2017
- 기본 설정(config/purifier.php)은 좀 더 제한적인 설정을 가지도록 함
  - 이미지, 리스트, 테이블 및 글자 모양새를 설정하는 등의 기본적인 태그는 사용할 수 있음
  - 이전에 비하면 좀 더 자유로움
- `Xpressengine\Support\Purifier`
  - 기본 설정보다 좀 더 많은 태그 및 속성을 사용할 수 있음
  - HTMLPurifier의 Module 방식을 적용하여 `EditorTool`, `Widget`을 정의하고 적용할 수 있도록 함
  - `allowModule()`, `disallowModule`로 이 모듈을 추가하거나 다른 모듈을 제거할 수 있음
ghost pushed a commit that referenced this issue Jul 11, 2017
@khongchi khongchi added this to the next-release milestone Jul 12, 2017
jhyeon1010 added a commit that referenced this issue Jul 12, 2017
jhyeon1010 added a commit that referenced this issue Jul 12, 2017
ghost pushed a commit that referenced this issue Jul 14, 2017
…있도록 수정

- 이름이 변경된 EditorTool은 당분간 EditorContent로 교체하여 사용할 수 있도록 유지 함
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants