Skip to content

Commit 46ff32a

Browse files
committed
fix: remove stray quote in check output. Fixed #30.
1 parent 1e3cd6f commit 46ff32a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ready/checks/html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def check_referrer_policy_should_be_set(responses, **kwargs):
5959
def check_x_xss_protection_should_not_exist(responses, **kwargs):
6060
return result(
6161
"x-xss-protection" not in responses["response"].headers,
62-
f'X-XSS-Protection header should not exist" ({responses["response"].headers.get("x-xss-protection")})',
62+
f'X-XSS-Protection header should not exist ({responses["response"].headers.get("x-xss-protection")})',
6363
"html_x_xss_protection_not_set",
6464
warn_on_fail=True,
6565
**kwargs,

ready/ready.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from importlib import resources
88
from . import checks as checks_module
99

10-
VERSION = "1.2.6"
10+
VERSION = "1.2.7"
1111

1212
from ready.checks.bad_response import (
1313
check_bad_response_cloudflare,

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = ready-check
3-
version = 1.2.6
3+
version = 1.2.7
44
author = Brenton Cleeland
55
author_email = [email protected]
66
description = A developer-friendly web scanning tool

0 commit comments

Comments
 (0)