Skip to content

junitxml doesn't escape newlines in attribute values #1218

Closed
@aivarannamaa

Description

@aivarannamaa

If error message has newlines in it then <failure>-s attribute message contains them verbatim, but they should be encoded, otherwise XML parser will lose them.

Activity

added
type: bugproblem that needs to be addressed
topic: reportingrelated to terminal output and user-facing messages and errors
on Dec 2, 2015
added this to the 2.8.4 milestone on Dec 2, 2015
modified the milestones: 2.8.4, 2.8.5 on Dec 6, 2015
modified the milestones: 2.8.5, 2.8.6 on Dec 14, 2015
added
plugin: junitxmlrelated to the junitxml builtin plugin
and removed
plugin: junitxmlrelated to the junitxml builtin plugin
on Feb 2, 2017
added a commit that references this issue on Apr 19, 2018

17 remaining items

Loading
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

    plugin: junitxmlrelated to the junitxml builtin plugintopic: reportingrelated to terminal output and user-facing messages and errorstype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @aivarannamaa@RonnyPfannschmidt@nicoddemus@carlos-jenkins@dajose

      Issue actions

        junitxml doesn't escape newlines in attribute values · Issue #1218 · pytest-dev/pytest