Project

General

Profile

Actions

Bug #15353

closed

t3lib_htmlmail FetchURL does not work with https + auth

Added by Jose Antonio almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-01-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The function addUserPass() is buggy because it only works with "http://" URL's.

I've corrected this, please commit it to the core CVS.

Diff for t3lib/class.t3lib_htmlmail.php:

1160,1163d1159
< if ($user && $pass && substr($url,0,8)=="https://") {
< $url = "https://".$user.":".$pass."@".substr($url,8);
< }
<
1392c1388
< ?>
---

?>

\ No newline at end of file

(issue imported from #M2168)


Files

class.t3lib_htmlmail.php.diff (753 Bytes) class.t3lib_htmlmail.php.diff Administrator Admin, 2006-01-04 09:24
Actions #1

Updated by Sebastian Kurfuerst almost 19 years ago

Hi,
can you please add the patch in unified diff format? (diff -u)
This makes is a lot easier for us.
Thanks,
Sebastian

Actions #2

Updated by Jose Antonio almost 19 years ago

I've uploaded the patch (diff -u)

Cheers,

Actions #3

Updated by Stanislas Rolland over 18 years ago

This issue was corrected in TYPO3 4.0.

Actions

Also available in: Atom PDF