[global] Changed raw "header('Location:') to Friendica's System::externalRedirect() #1281

Closed
Quix0r wants to merge 2 commits from 2022.09-rc into 2022.09-rc

2 commits

Author SHA1 Message Date
Roland Häder 64828ac8f5
Changes:
- added 3rd parameter `$proxy_headers` to add (default: not added)
  Pragma/Cache-Control headers
- But maybe there is a better one already in some composer package, that also
  supports more than just these 2 headers?
2022-09-13 15:00:05 +02:00
Roland Häder 5f154c18a8
Changes:
- rewrote `header('Location: foo');` to `System::externalRedirect()`
- no executable permission on these files
2022-09-12 19:06:48 +02:00