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

src/types.rs: fix complete_challenge() for non-standalone mode #29

Merged
merged 1 commit into from May 6, 2024

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Oct 20, 2023

Path::join throws away prefix if apppended path is an absolute path:

$ evcxr
>> std::path::Path::new("/a").join("/b")
"/b"

As a result non-standalone mode failed to create absolute /.well-known/acme-challenge path and failed.

The change creates it within WEB_ROOT prefix.

`Path::join` throws away prefix if apppended path is an absolute path:

    $ evcxr
    >> std::path::Path::new("/a").join("/b")
    "/b"

As a result non-standalone mode failed to create absolute
`/.well-known/acme-challenge` path and failed.

The change creates it within `WEB_ROOT` prefix.
@1c3t3a
Copy link
Collaborator

1c3t3a commented May 6, 2024

Better late than never! This LGTM :) Thanks for the fix.

@1c3t3a 1c3t3a merged commit 39bdad3 into kariustobias:main May 6, 2024
@trofi trofi deleted the fix-non-standalone branch May 6, 2024 20:58
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.

None yet

2 participants