TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] TinyRTE Error Handling https:// links...

This is a discussion on [TYPO3] TinyRTE Error Handling https:// links... within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; TinyRTE v1.6.6 does not seem to handle external links to a secure web site properly. When I enter ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 11.01.2008, 14:18
Timothy Patterson
Gast
 
Beiträge: n/a
Standard [TYPO3] TinyRTE Error Handling https:// links...

TinyRTE v1.6.6 does not seem to handle external links to a secure web
site properly.

When I enter an external URL (ex: https://www.msn.com) I get this in my
code: http://https://www.msn.com

I am using the toolbar button to add the link.

Any ideas?
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 11.01.2008, 16:20
Timothy Patterson
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] TinyRTE Error Handling https:// links... - FIXED

Ok, after sifting through this stockpile of PHP / JavaScript mix I
present you with the solution that I have found...

You have to edit the class.tx_tinyrte_base.php file in the tinyrte
extension directory.

Look for this code, then add what is shown:

function setTheValue(type,value,act) {
tinyMCE.selectedInstance.selection.moveToBookmark( s);
switch(type){
case "link":
var prefixURL=getActivePagefromFilebrowser(act);

// ADD THIS CODE!!! // Modification Start
if(prefixURL=="http://")
{
var secVal = value.substring(0,8);
// Check value to see if it is https...
if(secVal == "https://")
{
prefixURL="https://";
value=value.substr(8);
}
}
// Modification End

var linkValue=value.split(" ");
var linkURL=linkValue[0];
var target=linkValue[1];

Don't know if this helps anyone but here it is nevertheless!

Timothy Patterson wrote:
> TinyRTE v1.6.6 does not seem to handle external links to a secure web
> site properly.
>
> When I enter an external URL (ex: https://www.msn.com) I get this in my
> code: http://https://www.msn.com
>
> I am using the toolbar button to add the link.
>
> Any ideas?

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 11.01.2008, 17:27
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] TinyRTE Error Handling https:// links... - FIXED

Timothy Patterson kirjoitti:
> Ok, after sifting through this stockpile of PHP / JavaScript mix I
> present you with the solution that I have found...
>
> You have to edit the class.tx_tinyrte_base.php file in the tinyrte
> extension directory.
>
> Look for this code, then add what is shown:
>
> function setTheValue(type,value,act) {
> tinyMCE.selectedInstance.selection.moveToBookmark( s);
> switch(type){
> case "link":
> var prefixURL=getActivePagefromFilebrowser(act);
>
> // ADD THIS CODE!!! // Modification
> Start
> if(prefixURL=="http://")
> {
> var secVal = value.substring(0,8);
> // Check value to see if it is https...
> if(secVal == "https://")
> {
> prefixURL="https://";
> value=value.substr(8);
> }
> }
> // Modification End
>
> var linkValue=value.split(" ");
> var linkURL=linkValue[0];
> var target=linkValue[1];
>
> Don't know if this helps anyone but here it is nevertheless!


Please make a bugreport about this issue in
http://tinyrte.outraxx.de/bugreport0/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] External FTP links in TinyRTE Christian Heck typo3-english@lists.netfielders.de 0 13.12.2007 10:32
[TYPO3] subdomain / https Costa Papadopoulo typo3-english@lists.netfielders.de 2 12.12.2007 20:40
[TYPO3-german] Externe FTP Links im TinyRTE Christian Heck typo3-german@lists.netfielders.de 0 12.12.2007 16:50
[TYPO3-dev] autolinking of https-Urls Franz Koch typo3-dev@lists.netfielders.de 2 29.01.2007 20:37
[TYPO3] Proper 404 error handling? Jason A. Lefkowitz typo3-english@lists.netfielders.de 4 04.12.2006 19:08


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:04 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39