XF 2.2 Image Proxy + Curl + User Agent

akok

Active member
When image proxy is enabled, some images fail to load. It was observed that only the first image is not cached. Upon investigation, it was found that some problematic images are in the webp format, certain source domains have invalid SSL certificates, and access is blocked for certain domains without a valid User Agent.

Now, to the actual question: Is it possible to modify the Curl requests sent by the forum to add a custom User Agent?

In the instructions, I only found the flag $config['http']['sslVerify'] = null;.
 
Top Bottom