[TYPO3-english] link and character number limitation
Jigal van Hemert
jigal at xs4all.nl
Thu Feb 23 19:08:54 CET 2012
Hi,
On 23-2-2012 17:07, Éric Thibault wrote:
> I've narrowed it down to the typo3/jsfunc.tbe_editor.js and the
> function rawurlencode... This function receives from somewhere a
> maxlen parameter of true and cuts URLs at 200 char... I've modified
> that function on my DEV system and changed the 200 to 400 with no
> side effect except that my URLs are not cut anymore...
>
> Is there a better way to correct this then to change the JS file
> directly?
There is also a limit in t3lib_TCEforms::renderWizards():
$aOnClick = $this->blur() . $addJS . 'vHWin=window.open(\'' .
$url . t3lib_div::implodeArrayForUrl('', array('P' => $params)) .
'\'+\'&P[currentValue]=\'+TBE_EDITOR.rawurlencode(' .
$this->elName($itemName) . '.value,200)' . $curSelectedValues .
',\'popUp' . $md5ID . '\',\'' . $wConf['JSopenParams'] . '\');' .
'vHWin.focus();return false;';
Maybe it's because url fields in e.g. pages and pages_language_overlay
are VARCHAR 255 ?
--
Kind regards / met vriendelijke groet,
Jigal van Hemert.
More information about the TYPO3-english
mailing list