-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(asm): capture XML parsing errors on body parse Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> * chore(asm): add some tests for bad XML not raising an exception but logging a warning Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> * Update ddtrace/contrib/django/utils.py Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> * Update releasenotes/notes/capture-xml-parsing-errors-e6c8c761ed026ce3.yaml Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> * chore(asm): fix empty xml body flask test Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> * chore(asm): workaround some odd interaction between caplog and hypothesis Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com> Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 91e5dfd) Co-authored-by: Juanjo Alvarez Martinez <juanjo.alvarezmartinez@datadoghq.com>
- Loading branch information
1 parent
56b6086
commit 6d3183d
Showing
6 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/capture-xml-parsing-errors-e6c8c761ed026ce3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
fixes: | ||
- | | ||
ASM: Do not raise exceptions when failing to parse XML request body. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters