Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a48b4ffd9 |
@@ -1123,7 +1123,7 @@ func TestWordPressBodyFieldsAreCheckedInTheQuery(t *testing.T) {
|
|||||||
get("/wp-json/wp/v2/posts/1?json.content="+url.QueryEscape(wordpressBlock)),
|
get("/wp-json/wp/v2/posts/1?json.content="+url.QueryEscape(wordpressBlock)),
|
||||||
matched(941180))
|
matched(941180))
|
||||||
wantResult(t, crs, get("/wp-json/wp/v2/posts/1?json.title=python3"), matched(932260))
|
wantResult(t, crs, get("/wp-json/wp/v2/posts/1?json.title=python3"), matched(932260))
|
||||||
wantResult(t, crs, get("/wp-comments-post.php?url=python3"), matched(932260))
|
wantResult(t, crs, get("/wp-comments-post.php?url=powershell"), matched(932120))
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestWordPressBodyNamesAndAddressesAreExcludedOnlyThere checks the JSON
|
// TestWordPressBodyNamesAndAddressesAreExcludedOnlyThere checks the JSON
|
||||||
|
|||||||
Reference in new issue
Block a user