YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 25 forks source link

When testing for app page access, reuse cookies between requests. #154

Closed Salamandar closed 6 months ago

Salamandar commented 6 months ago

cURL --location will follow redirects, but by default won't reuse cookies.

Some apps, like Jackett, might add authentication cookies in a chain of redirections.

Passing --cookie to cURL tells it to keep cookies between 'sessions'.