Repository navigation
Commit debe0bd
committed
Let the panel check accept the same certificate the deploy already does
The check required a certificate curl would validate. The FTP host presents one
it will not, so the check failed the handshake and -- before the previous
commit taught it to say so -- reported the folder as missing. It has blocked
every admin deploy since, including ones that would have succeeded.
A guard stricter than the thing it guards blocks work without protecting
anything. The deploy step completes FTPS against this host regardless, so the
upload already carries these credentials over a connection whose certificate
nobody verified. Matching that is not a new exposure; it is the check stopping
pretending to a standard the pipeline does not meet.
The fix that would let this be strict is a valid certificate on the FTP host,
which is Hostinger's to provide, and the comment says so where someone would
look.
Verified the three outcomes still hold with the flag in place: the panel folder
passes, a folder without config.php fails and lists what is there, an
unreachable host reports curl's error. The certificate case itself could not be
reproduced here -- this sandbox blocks generating a self-signed certificate to
test against -- so that path rests on curl's documented behaviour and the next
real run.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0128YzbhrfGdegUSc9RrARRf1 parent cc83613 commit debe0bd
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
164 | 177 | | |
165 | | - | |
| 178 | + | |
166 | 179 | | |
167 | 180 | | |
168 | 181 | | |
| |||
0 commit comments