GravityPDF / gravity-pdf

Gravity PDF is a GPLv2-licensed WordPress plugin that allows you to automatically generate, email and download PDF documents using Gravity Forms.
https://gravitypdf.com
89 stars 21 forks source link

Update mPDF cURL User Agent #1443

Closed jakejackson1 closed 1 year ago

jakejackson1 commented 1 year ago

Description

Use the latest version of Firefox. Siteground recently started blocking requests that used very old browser versions / user agents. This stopped Gravity PDF loading images / CSS via HTTP/HTTPS.

Fixes #1440

Testing instructions

Add a Background Image to a PDF that points to a Siteground-hosted image and verify it displays correctly.

Screenshots

Checklist:

Additional Comments

codecov[bot] commented 1 year ago

Codecov Report

Merging #1443 (f7f5a59) into development (b9671fd) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@              Coverage Diff               @@
##             development    #1443   +/-   ##
==============================================
  Coverage          75.70%   75.70%           
  Complexity          2935     2935           
==============================================
  Files                243      243           
  Lines              12826    12827    +1     
  Branches             370      370           
==============================================
+ Hits                9710     9711    +1     
  Misses              3108     3108           
  Partials               8        8           
Impacted Files Coverage Δ
src/Helper/Helper_PDF.php 81.81% <100.00%> (+0.06%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.