Skip to content

Includes L in opcache curl flags

Jenny Nilsson requested to merge dev into main

On line https://gitlab.wklive.net/wk-public/dropcat-project/-/blob/main/src/Dropcat/Command/ResetOpcacheCommand.php#L196 add "L" so curl will follow redirects (We usually have a redirect from http to https, or from https://example.com to https://example.com/).

Alternative solution, check for redirect and report that instead of an error. The current error isn't wrong, but it is not helping with debugging the issue and has lead (at least me) to increase curl timeout instead of reflecting that the url is "wrong".

Merge request reports