Skip to content

Wrong RegExp for XACML <Policy ...> ... </Policy>Β #1

@NisonChrist

Description

@NisonChrist

policy_pattern = re.compile(r"<Policy[\s\S]*?<\/Policy>")

We should match ''<Policy[[A SPACE]]...>...</Policy>'', rather than ''<Policy...>...</Policy>''.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions