mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Revert setCookieJar() and add overwrite parameter fpr rare cases
This commit is contained in:
parent
a6258cfbfa
commit
4ddaf49f53
2 changed files with 3 additions and 4 deletions
|
@ -221,10 +221,6 @@ class HTTPClient implements IHTTPClient
|
|||
|
||||
$url = trim($url, "'");
|
||||
|
||||
// Designate a temporary file that will store cookies during the session.
|
||||
// Some websites test the browser for cookie support, so this enhances results.
|
||||
$this->resolver->setCookieJar(tempnam(get_temppath() , 'url_resolver-'));
|
||||
|
||||
$urlResult = $this->resolver->resolveURL($url);
|
||||
|
||||
if ($urlResult->didErrorOccur()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue