Project

General

Profile

Actions

Bug #18955

closed

Modifying a file link in IE6, the popup indicates an external url when used special chars like german umlauts

Added by Thomas Loeffler almost 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-06-13
Due date:
% Done:

0%

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

Description

When modifying a file link in the BE with IE6, the function parseCurUrl indicates an external url instead of a file link, because the IE6 sends the url in the wrong encoding. This happens only, if special chars are in the url.

After adding the class tx_rtehtmlarea_browse_links in line 117:

$this->curUrlArray['href'] = utf8_decode($this->curUrlArray['href']);

the url has the right encoding. It is a bad hack, but it works.

Tested in IE6, IE7 and FF.

(issue imported from #M8708)

Actions #1

Updated by Oliver Hader almost 16 years ago

Which versions of TYPO3 and RTEhtmlarea are you using?

Actions #2

Updated by Thomas Loeffler almost 16 years ago

Sorry, Typo3 4.1.7 and rtehtmlarea 1.5.6.

Actions #3

Updated by Thomas Loeffler almost 16 years ago

Sorry again, it's line 258!!

Actions #4

Updated by Stanislas Rolland over 15 years ago

If the url is an external url that contains special characters, this hack will break it.

Actions #5

Updated by Stanislas Rolland over 15 years ago

With current TYPO3core trunk, I was unable to reproduce this issue in IE6. Could you provide more specific information on how to reproduce?

Actions #6

Updated by christian rauch almost 15 years ago

I can reproduce this Bug with the current Typo3 Version (4.2.6)

I have a utf8 filesystem and forcecharset=utf8.
If i insert a Link via File Browser, that contains a german umlaut (the file, not the link), the link is correctly url encoded and saved. If i reopen the text element the special character gets converted to its utf8 pendant.

example first time i insert a file called tüst.html it gets saved as:
<a href="http://www.test.com/fma/fileadmin/t%C3%BCst.html&quot;&gt;dfgdfgdfgdf gdf</a>

next time i open the rte the link gets converted to:
<a href="http://www.test.com/fma/fileadmin/tüst.html&quot;&gt;dfgdfgdfgdf gdf</a>

this only happens in ie6. And the link gets marked as external link in the link browser

Actions #7

Updated by Stefan Galinski over 12 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (0)
  • TYPO3 Version set to 4.2

IE6 isn't supported anymore.

Actions

Also available in: Atom PDF