Project

General

Profile

Actions

Bug #14844

closed

Absolute urls will be converted to relative typolinks

Added by old_A_Stranger over 19 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2005-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Situation:
Typo3 directory: http://server1/typo3
Another web app: http://server1/webapp

When i insert in the rtehtmlarea a new external link to http://server1/webapp/webapp.php the url will be converted to <LINK webapp/webapp.php> (so it is in the database).

Now when ich click the link it points to http://server1/typo3/webapp/webapp.php, which is wrong.

My PageTSConfig:

RTE {
default {
disableSelectColor = 1
hideButtons = textstylelabel, textstyle, fontstyle, fontsize, lefttoright, righttoleft, user
hidePStyleItems = H4, H5, H6, PRE
proc {
dontHSC_rte = 1
allowTags = table, tbody, tr, th, td, h1, h2, h3, div, p, br, span, ul, ol, li, pre, blockquote, strong, small, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font, tt, q, cite, abbr, acronym
denyTags >
exitHTMLparser_rte = 1
exitHTMLparser_rte {
allowTags < RTE.default.proc.allowTags
denyTags < RTE.default.proc.denyTags
}
entryHTMLparser_db = 1
entryHTMLparser_db {
// TAGS ALLOWED
allowTags < RTE.default.allowTags
// XHTML COMPLIANCE
xhtml_cleaning = 1
// AVOID TO HSC TWICE
// htmlSpecialChars = 0
// CLEAN TAGS
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
tags.hr.allowedAttribs = class
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
// REMOVE OPEN OFFICE META TAGS
removeTags = sdfield
// PROTECT CUSTOM TAGS
keepNonMatchedTags = protect
}
}
}
}

(issue imported from #M1248)

Actions #2

Updated by old_A_Stranger over 19 years ago

Thx for the link, Steven.

I have found out that this behavior is by typo3, but not by rtehtmlarea. Funny thing: my typo3 (3.8) behave in the opposite way to the faq (if i use fqdn it does it wrong, but if I use just the server name, it does it right).

Sorry fot this issues.

Actions #3

Updated by Chris topher over 14 years ago

Resolved, not reproducable in current versions.

I just tried to reproduce this error with current trunk - without success:
After saving my CE with external link, I get in the DB:

Here comes a link to an external <link http://localhost/phpmyadmin/index.php - - Testlink>site</link>.

This is then displayed as an external link with the right target in the FE.
So it now also works without a fully qualified domain name.

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF