Thanks to visit codestin.com
Credit goes to github.com

Skip to content

XML attribute values are not consistently unescaped (e.g. for <strcmp value>) #458

@nud

Description

@nud

Most XML attributes are not unescaped by the XML parser. After checking the source code it looks like only <ereg> is.

While it has no practical consequences most of the time, it makes it impossible to e.g. use <strcmp> to do something like this:

  <strcmp
      assign_to="result"
      variable="strvar"
      value="&#34;Some User&#34; &lt;sip:[email protected]&gt;"
      />

I suppose solving #31 would fix the problem globally, but in the meantime unescaping at least attributes that are meant to contain strings would be a nice improvement.

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