Die TYPO3 Mailingliste - nicht fragen: lesen!
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 ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| 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 |