mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-25 20:55:52 +03:00
[GH-ISSUE #848] [Bug] 当Certimate部署在Linux时,使用反斜杠路径向Windows机器上传证书失败 #577
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#577
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JiangJamm on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/848
软件版本 / Release Version
v0.3.21
缺陷描述 / Description
可以看到,传入的

path已经转换为\\分隔符的路径,但没办法被filepath.Dir()识别,因此方法返回值为.,估计这是导致上传错误的主要原因。github.com/certimate-go/certimate@400e30f633/pkg/core/ssl-deployer/providers/ssh/ssh.go (L422-L424)复现步骤 / Steps to reproduce
日志 / Logs
其他 / Miscellaneous
No response
贡献 / Contribution