Skip to content

如何防止xss注入呢? #25

Description

@DarkSherlock

我有一个比较旧的工程,使用的是knockout.js,因为emoji.js是将emoji转换为span,所以我ko需要使用html绑定,但是这样会带来xss注入问题,请问这有好的解决方案吗

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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