Closed joeborner closed 2 years ago
Hello @joeborner - This issue is more appropriately directed at the autopkg project.
Briefly, I can provide this guidance:
&
is a special character in xml/plist, and should be escaped to &
in your URL. Looks like that's what your download recipe needs.Hi @homebysix - Thanks, those small adjustments were the last tweaks I was looking for, it's now working as expected!
Hi All, Recently started trying to create my own AutoPKGr recipes and have succesfully managed a few. But I recently tried creating one for a driver download that I can't quite figure out.
Issue: CURLTextSearcher does not work when there are multiple variables in the URL, from testing this appears to be caused by & in the URL. (example: https://www.cdata.com/download/getfile.aspx?file=demo/RQDG-M/setup.dmg&name=QuickBooks%20ODBC%20Driver%20for%20Mac)
Troubleshooting: So far I have tried encoding the URL to remove special characters, using a short link (bit.ly) and downloading a copy of the webpage manually and changing the URL to file://%RECIPE_CACHE_DIR%/%NAME%.html (this method works, but I have not been able to automate the recipe to download the file locally).
Recipe: https://github.com/mac-seven/Recipes/tree/main/Quickbooks%20ODBC%20Driver
Any pointers will be appreciated!