Project

General

Profile

Actions

Feature #15736

closed

In RTE htmlArea, unable to do an internal link with several parameters

Added by Jo© Bussi¨re over 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-02-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

With the RTE htmlArea "link" popup, doing an "external link" to a link with several parameters won't work.

When saving, TYPO3 checks the link and reports in the HTML code that it is not valid by mentionning "no page found" error.

Exemple of a link :
http://site.profweb.qc.ca/index.php?id=24&tx_profwebchroniques_pi1[uid]=32

I've experienced this bug since TYPO3 3.6, with htmlArea 5.x and 1.1.x
(issue imported from #M2714)


Files

class.t3lib_parsehtml_proc.patch (643 Bytes) class.t3lib_parsehtml_proc.patch Administrator Admin, 2006-12-24 22:45
bug_2714_v4.diff (959 Bytes) bug_2714_v4.diff Administrator Admin, 2007-04-20 14:25
rtehtmlarea_feature_2714_v3.patch (8.1 KB) rtehtmlarea_feature_2714_v3.patch Administrator Admin, 2008-08-17 06:22

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Feature #15269: Add a Querystring to a <LINK id/type-pairClosedMichael Stucki2005-12-09

Actions
Related to TYPO3 Core - Bug #19706: Internal links with additional parameters "destroyed" when saving content-elementsClosed2008-12-17

Actions
Related to TYPO3 Core - Feature #22837: queryParametersSelector for internal links everywhere (internal links with parameters)ClosedSusanne Moog2010-06-08

Actions
Has duplicate TYPO3 Core - Bug #19576: URL parameters cause RTE errorClosedStanislas Rolland2008-11-05

Actions
Actions #1

Updated by Stefano Cecere over 18 years ago

i agree that this is a very annoying bug/feature!

Actions #2

Updated by Stanislas Rolland over 18 years ago

When the link is external, you can add several parameters.

Actions #3

Updated by Stanislas Rolland over 18 years ago

Additional parameters are not currently supported by internal links. The link you are setting is not external.

Actions #4

Updated by Nick Weisser over 18 years ago

I can confirm this for all kinds of external URLs under TYPO3 4.0 with rtehtmlarea 1.2.0 with links such as

http://www.mydomain.com/index.php?id=10&L=0

whereas

http://rondodoge.com/index.php?id=10&L=0

will work (note the missing www).

Actions #5

Updated by Stephan Weiss almost 18 years ago

When the link is external......
No, all Links with parameters break.
This patch works for me. If the first Part of a URI match the Site URL, the URL is parsed as internal.

Actions #6

Updated by Michael Stucki over 17 years ago

Thanks for your patch! The attached update just fixes some glitches when using aliases and file references, but in general this seems to work.

Actions #7

Updated by Stanislas Rolland over 16 years ago

The attached patch (rtehtmlarea_feature_2714.patch) fixes the issue when applied to TYPO3core trunk.

A new field on the page tab of the link insertion dialogue allows to enter query parameters. This must be enabled in Page TSConfig with the following setting:

RTE.default.buttons.link.queryParametersSelector.enabled = 1

Actions #8

Updated by Stanislas Rolland over 16 years ago

In second version of the patch, if the query parameters do not start with &, it will be added.

Actions #9

Updated by Stanislas Rolland over 16 years ago

Third version regenerated against trunk revision 3983.

Actions #10

Updated by Stanislas Rolland over 16 years ago

Committed to trunk revision 4003.

Actions #11

Updated by Wolfgang Klinger over 15 years ago

I can't find this patch in TYPO3 4.2.6??
Please re-insert or explain why, as I think this feature is important, tia!

Actions #12

Updated by Wolfgang Klinger over 15 years ago

ok, forget it, I read your explanation in #9743

Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF