Skip to content

Conversation

@mxschmitt
Copy link
Contributor

@mxschmitt mxschmitt commented Dec 28, 2024

Note: URL is not able to parse a ws:// url, only URI is able to.

This applies this upstream logic to Java.

Relates #1715
Extracted from #1717

@mxschmitt mxschmitt requested a review from Copilot December 28, 2024 12:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

if (glob != null) {
return Pattern.compile(globToRegex(resolveUrl(baseURL, glob))).matcher(value).find();
if (!glob.startsWith("*")) {
// Allow http(s) baseURL to match ws(s) urls.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mxschmitt mxschmitt merged commit fcd0444 into main Jan 27, 2025
13 of 19 checks passed
@mxschmitt mxschmitt deleted the resolve-url branch January 27, 2025 14:43
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.

4 participants