packagesdev / packages

Integrated Packaging Environment for OS X
312 stars 44 forks source link

HTTPS link getting mangled when it contains an encoded `+` #152

Open mindfather opened 9 months ago

mindfather commented 9 months ago

Packages version 1.2.11 (735)

Screenshot 2024-02-27 at 19 03 27

I'm attempting to create a package which will install Adoptium Temurin JDK21 if no JDK is present on the system, but the HTTPS link is getting changed upon building the package.

Result: https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%252B13/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.2_13.pkg

Expected: https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.2_13.pkg

Screenshot of the resulting error:

Screenshot 2024-02-27 at 19 06 57