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

Does not handle a path with spaces correctly when using --webroot #6138

Closed
alienmindbender opened this issue Dec 6, 2024 · 2 comments
Closed

Comments

@alienmindbender
Copy link

alienmindbender commented Dec 6, 2024

A webroot path with a space gets wrongly split up due to missing quotes at the three for ventry in $ventries; do loops.
Quoting "$ventries"resolves this issue.

Another issue - proabably related to this (otherwise somebody should have stumpled upon that already) - is a malfomed url string:
url='https://acme.zerossl.com/v2/DV90/authz/MDSG3E7lE72Y3gmzu0_itA '.

I made previously a false assumption here, that this is also due to an unquoted string. This is not the case.
Trimming the whitespace with url=$(printf "$1" | xargs) seems to do the trick

Copy link

github-actions bot commented Dec 6, 2024

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@Neilpang
Copy link
Member

Neilpang commented Dec 7, 2024

we can not support this case.
please don't include space in the path

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

No branches or pull requests

2 participants