Bug #23825

rtehtmlarea creating URL links out of absurd cases

Added by Boris Senker over 2 years ago. Updated about 2 years ago.

Status:Needs Feedback Start date:2010-11-13
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:rtehtmlarea
Target version:-
TYPO3 Version:4.4 Complexity:
PHP Version:5.2
Votes: 0

Description

rtehtmlarea creating URL links out of absurd cases. Pressing enter after this line:

tar xvzf ModPython.pm.tar.gz

creates an irritating URL hyperlink (there are no domains with this extension, software belonging to core should be able to recognize it.

Moreover, if you accidentally click on this link in RTE, thinking to turn it off, it will open the link in same window, and there goes the unsaved article to oblivion. Had to revert to last saved few times due to this absurd bug, really irritating.

(issue imported from #M16372)

History

Updated by Chris topher over 2 years ago

Indeed, I can reproduce this problem.

After pressing enter, the following source is created (spaces added by me):

< p >tar xvzf < a href="http://ModPython.pm.tar.gz" >ModPython.pm.tar.gz< /a >< /p >

Updated by Chris topher over 2 years ago

Some quick test:

After pressing enter a link is created (although it should not be):
tar xvzf ModPython.pm.tar.gz
tar xvzf ModPython.pm.tar

No link is created:
tar xvzf ModPython.pm

=> Seems like the two dots in the name cause the problem...

Updated by Chris topher over 2 years ago

Hi Stan, I can't move the issue, but it's one for you!

Updated by Stanislas Rolland over 2 years ago

Pressing escape after the link is created will unlink.

Updated by Stanislas Rolland over 2 years ago

There is a large intersection between file extensions and top-level domain codes.

Updated by Stanislas Rolland about 2 years ago

  • Category set to rtehtmlarea
  • Target version deleted (0)

Also available in: Atom PDF