Skip to content

Experience Optimization #1

Description

@360sec

有时候decode单个字符的时候,忘记带了分号,如直接decode &#x27,没有分号结尾会decode出来是空。

解决方法,例如在lib\encode.js第57行前插入如下代码

if (txt[txt.length-1] != ";"){
                txt+=";"
 }

其他的类似。

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions