Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uri: fix schema reporting #816

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

barsnick
Copy link
Contributor

"ws://" was being reported as secure.

Use get_scheme() to also correctly report the supported (legacy) "http(s)" URIs.

Describe your changes

Replace the typo ws:// with the actual schema from get_scheme(). Also make this change for the correct use of ws://, to allow for potential legacy http://.

Issue ticket number and link

#697

Checklist before requesting a review

"ws://" was being reported as secure.

Use `get_scheme()` to also correctly report the supported (legacy) "http(s)"
URIs.

Fixes #697

Signed-off-by: Moritz Barsnick <moritz.barsnick@chargebyte.com>
@barsnick barsnick force-pushed the cb-fix-security-model-schema-reporting branch from daf6153 to c22b254 Compare September 27, 2024 09:58
@Pietfried Pietfried linked an issue Oct 5, 2024 that may be closed by this pull request
@Pietfried Pietfried merged commit feb302d into main Oct 5, 2024
4 checks passed
@Pietfried Pietfried deleted the cb-fix-security-model-schema-reporting branch October 5, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing error message regarding secure or insecure URI
2 participants