Commit c3799456 authored by Ingmar Schlecht's avatar Ingmar Schlecht
Browse files

* Fixed bug #288: In t3lib_parsehtml prefixRelPath incorrectly prefixed absolute URLs


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@434 709f56b5-9817-0410-a4d7-c38de5d9e867
parent f06b1e4c
2004-08-20 Ingmar Schlecht <ingmars@web.de>
* Fixed bug #288: In t3lib_parsehtml prefixRelPath incorrectly prefixed absolute URLs
2004-08-15 Michael Stucki <mundaun@gmx.ch>
* Corrected wrong parameter order for some implode function calls.
* Corrected wrong parameter order for some implode function calls.
2004-08-07 Kasper Skårhøj,,, <kasper@typo3.com>
* Added three new permission modes for backend users: 1) Localization access control, 2) Access control on value level (for instance allow/deny individual selectorbox values), 3) API for custom permission options.
* Implemented control of these modes in tcemain, tceforms and alt_doc.php + QuickEdit. Still need to implement it for edit icons around, but this is not critical, mostly a usability issue.
* Moved table "sys_language" from extension "cms" back into the core
* Updated CSH at various places.
* Finished the accessListRenderMode(s) (see 4/8 below)
* Still unsettled about various default settings related to these new options, but will discuss on dev-list.
* Added three new permission modes for backend users: 1) Localization access control, 2) Access control on value level (for instance allow/deny individual selectorbox values), 3) API for custom permission options.
* Implemented control of these modes in tcemain, tceforms and alt_doc.php + QuickEdit. Still need to implement it for edit icons around, but this is not critical, mostly a usability issue.
* Moved table "sys_language" from extension "cms" back into the core
* Updated CSH at various places.
* Finished the accessListRenderMode(s) (see 4/8 below)
* Still unsettled about various default settings related to these new options, but will discuss on dev-list.
2004-08-04 Kasper Skårhøj,,, <kasper@typo3.com>
......
......@@ -898,7 +898,7 @@ class t3lib_parsehtml {
*/
function prefixRelPath($prefix,$srcVal) {
$pU = parse_url($srcVal);
if (!$pU['scheme']) { // If not an absolute URL.
if (!$pU['scheme'] && substr($srcVal, 0, 1)!='/') { // If not an absolute URL.
$srcVal = $prefix.$srcVal;
}
return $srcVal;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment