Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/integration/domains/test_slave_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
result = exec_test_command(
BASE_CMD + ["list", "--text", "--no-header"]
).stdout.decode()
assert "-example.com" in result
from urllib.parse import urlparse
parsed_url = urlparse(result)
assert parsed_url.hostname and parsed_url.hostname.endswith("-example.com")

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High test

The string
-example.com
may be at an arbitrary position in the sanitized URL.


@pytest.mark.skip(reason="BUG 872")
Expand Down
Loading