Fixed bug #16904: htmlArea RTE: Trailing slash stripped from href of autolinks
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 7 Jan 2011 22:50:05 +0000 (22:50 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 7 Jan 2011 22:50:05 +0000 (22:50 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10008 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/rtehtmlarea/ChangeLog
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js

index 2fad39c..7dc76d5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * Fixed bug #16945: htmlArea RTE: Incorrect default tab label in image insertion dialogue
        * Fixed bug #16946: htmlArea RTE: Mouse cursor should be move cursor in drag an drop tab
        * Fixed bug #16948: htmlArea RTE: Temporary files folder should not be expanded in drag & drop tab
+       * Fixed bug #16904: htmlArea RTE: Trailing slash stripped from href of autolinks
 
 2011-01-07  Ernesto Baschny  <ernst@cron-it.de>
 
index dfc1dce..253836c 100644 (file)
@@ -3,6 +3,7 @@
        * Fixed bug #16945: htmlArea RTE: Incorrect default tab label in image insertion dialogue
        * Fixed bug #16946: htmlArea RTE: Mouse cursor should be move cursor in drag an drop tab
        * Fixed bug #16948: htmlArea RTE: Temporary files folder should not be expanded in drag & drop tab
+       * Fixed bug #16904: htmlArea RTE: Trailing slash stripped from href of autolinks
 
 2011-01-06  Stanislas Rolland  <typo3@sjbr.ca>
 
index 580a1f2..102a9cc 100644 (file)
@@ -58,7 +58,7 @@ Ext.apply(HTMLArea, {
        Reg_body                : new RegExp('<\/?(body)[^>]*>', 'gi'),
        reservedClassNames      : /htmlarea/,
        RE_email                : /([0-9a-z]+([a-z0-9_-]*[0-9a-z])*){1}(\.[0-9a-z]+([a-z0-9_-]*[0-9a-z])*)*@([0-9a-z]+([a-z0-9_-]*[0-9a-z])*\.)+[a-z]{2,9}/i,
-       RE_url                  : /(([^:/?#]+):\/\/)?(([a-z0-9_]+:[a-z0-9_]+@)?[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,})+\.[a-z]{2,5}(:[0-9]+)?(\/\S+)*)/i,
+       RE_url                  : /(([^:/?#]+):\/\/)?(([a-z0-9_]+:[a-z0-9_]+@)?[a-z0-9_-]{2,}(\.[a-z0-9_-]{2,})+\.[a-z]{2,5}(:[0-9]+)?(\/\S+)*\/?)/i,
        RE_blockTags            : /^(body|p|h1|h2|h3|h4|h5|h6|ul|ol|pre|dl|dt|dd|div|noscript|blockquote|form|hr|table|caption|fieldset|address|td|tr|th|li|tbody|thead|tfoot|iframe)$/i,
        RE_closingTags          : /^(p|blockquote|a|li|ol|ul|dl|dt|td|th|tr|tbody|thead|tfoot|caption|colgroup|table|div|b|bdo|big|cite|code|del|dfn|em|i|ins|kbd|label|q|samp|small|span|strike|strong|sub|sup|tt|u|var|abbr|acronym|font|center|object|embed|style|script|title|head)$/i,
        RE_noClosingTag         : /^(img|br|hr|col|input|area|base|link|meta|param)$/i,