Skip to content

fix: handle discovery URL correctly - #41

Merged
thomas-fossati merged 5 commits into
veraison:mainfrom
MonakaResearch:main
Jul 27, 2026
Merged

thomas-fossati merged 5 commits into
veraison:mainfrom
MonakaResearch:main

Conversation

@shefali-kamal

@shefali-kamal shefali-kamal commented Jul 14, 2026 •

Copy link
Copy Markdown

context: building a DiscoveryBuilder with_base_url with a trailing / (empty path) resulted in error while building the discovery URL, by appending "/.well-known/xxx" with the base URL string.

@THS-on

THS-on commented Jul 21, 2026

Copy link
Copy Markdown
Member

@thomas-fossati can you have a look at it?

@thomas-fossati thomas-fossati left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks! I have left my usual handful of comments inlnie.

Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/coserv.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/coserv.rs
DhanusML added 5 commits July 23, 2026 16:34
Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
Handle discovery base urls as url::Url instead of String.

Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
Cargo.lock should be tracked by VCS
(https://blog.rust-lang.org/2023/08/29/committing-lockfiles/)
Removed Cargo.lock from .gitignore

Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
@thomas-fossati

Copy link
Copy Markdown
Contributor

🚢 it, thanks!

@shefali-kamal

Copy link
Copy Markdown
Author

🚢 it, thanks!

Hi @thomas-fossati since I cant add approvers, please add 1 more approver( as this blocks merging) so that we can merge this and raise other PRs which are dependent on this one. Thanks

@thomas-fossati

Copy link
Copy Markdown
Contributor

🚢 it, thanks!

Hi @thomas-fossati since I cant add approvers, please add 1 more approver( as this blocks merging) so that we can merge this and raise other PRs which are dependent on this one. Thanks

Sure, added @paulhowardarm as reviewer.

(Let me fiddle with the repo settings so that you can add reviewers in the future.)

@thomas-fossati

Copy link
Copy Markdown
Contributor

🚢 it, thanks!

Hi @thomas-fossati since I cant add approvers, please add 1 more approver( as this blocks merging) so that we can merge this and raise other PRs which are dependent on this one. Thanks

Sure, added @paulhowardarm as reviewer.

(Let me fiddle with the repo settings so that you can add reviewers in the future.)

Shefali, I just added you and @DhanusML. Let me know if anyone else needs write access.

@paulhowardarm paulhowardarm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks like a worthy improvement, and looks good to me. Many thanks for the contribution.

@thomas-fossati
thomas-fossati merged commit cc0405c into veraison:main Jul 27, 2026
4 checks passed
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.

enhancement: use a library to handle URLs

5 participants