Skip to content

Commit

Permalink
Use defusedxml for XML parsing
Browse files Browse the repository at this point in the history
Close #588
  • Loading branch information
tpazderka committed Jan 24, 2019
1 parent f0b0cda commit aa56b0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ The format is based on the [KeepAChangeLog] project.

## Unreleased

### Changed
- [#588] Switch to defusedxml for XML parsing

### Fixed
- [#592] Do not append cookie header if there is nothing to append
- [#591] Fix verification of encrypted id_token

[#592]: https://github.com/OpenIDC/pyoidc/issues/592
[#591]: https://github.com/OpenIDC/pyoidc/issues/591
[#588]: https://github.com/OpenIDC/pyoidc/issues/588

## 0.15.0 [2019-01-17]

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def run_tests(self):
"cryptography",
"future",
"six",
"defusedxml",
] + extra_install_requires,
tests_require=tests_requires,
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion src/oic/utils/authn/user_cas.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import json
import logging
import uuid
import xml.etree.ElementTree as ET

import requests
import six
from defusedxml import ElementTree as ET

from oic.utils.authn.user import UserAuthnMethod
from oic.utils.http_util import SeeOther
Expand Down

0 comments on commit aa56b0a

Please sign in to comment.