Skip to content

Commit

Permalink
Update Alert on Unexpected Content Types
Browse files Browse the repository at this point in the history
Add the following Content-Types to list of expected ones:
 - `application/problem+json`;
 - `application/problem+xml`.

Related to zaproxy/zaproxy#5121 - Unexpected Content (Type was returned)
 - incompatible with RFC 7807
  • Loading branch information
thc202 committed Nov 16, 2018
1 parent 5e289ce commit f95c690
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions httpsender/Alert on Unexpected Content Types.js
Expand Up @@ -14,6 +14,8 @@ var extensionAlert = org.parosproxy.paros.control.Control.getSingleton().getExte
var expectedTypes = [
"application/json",
"application/octet-stream",
"application/problem+json",
"application/problem+xml",
"application/soap+xml",
"application/xml",
"application/x-yaml",
Expand Down

0 comments on commit f95c690

Please sign in to comment.