Feature #34420
closedWizard makes too long URI
100%
Description
Creating a page content of the type "form" the use of the button "form" -> "Form wizard" produces only the failure message "Request URI is too long".
Links to wizards send quite some data in the query parameters. Compressing this would shorten the URI to a length which is less likely to cause problems with certain IE browsers and web servers with limited URI lengths.
Updated by Jigal van Hemert over 12 years ago
- Status changed from New to Needs Feedback
Updated by anybody no-lastname-given over 12 years ago
Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.3.5 mod_ssl/2.2.9 OpenSSL/0.9.8g. With the phpinfo of the install tool I could not find a limit, but I am not very experienced with php.
I tried with Firefox 10.0.2 and IE 9.0.8112.
Updated by Jigal van Hemert over 12 years ago
There are two settings in the Apache configuration which can cause this error message: LimitRequestFieldSize and LimitRequestLine. Maybe your hoster has decreased the limit? The standard value is 8190 bytes.
In IE7 there was also a limit [2], but since we both tested with FF 10.0.2 it is very unlikely that this is the problem.
Can you check with the hoster / sysadmin?
[1] http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize
[2] http://support.microsoft.com/kb/208427
Updated by anybody no-lastname-given over 12 years ago
According to my provider there was a limit, which is now changed.
But it would be helpful to insert a hint in the FAQ and very optimal to change the programming to shorter links.
SOLVED
Updated by Jigal van Hemert over 12 years ago
- Category changed from Form Framework to Backend API
- Status changed from Needs Feedback to Accepted
- Priority changed from -- undefined -- to Could have
- Complexity set to medium
I'm changing this in a feature request for compressing long wizard URLs. Some quick tests revealed the using deflate + base64 decreased the size to less than 40%. The parameters in my example took 2221 characters and after compressing "just" 872.
Updated by Jigal van Hemert over 12 years ago
- Tracker changed from Bug to Feature
Updated by Jigal van Hemert over 12 years ago
- Subject changed from Form Wizard makes too long URI to Wizard makes too long URI
Updated by Sven Juergens about 12 years ago
Today i had the same Problem with an own wizard, is there maybe a "quick and dirty" patch @Jigal van Hemert van Hemert ? Or maybe a hint where and how i can use "deflate + base64" ?
Updated by Alexander Wende about 12 years ago
Same problem here. Using IIS 7.5 on Windows 2008 RC2. Table and forms wizard links doesn't work. Is there any workaround?
Updated by Marco Bresch about 12 years ago
All older IE's (<= 8) has the same problem. See "Maximum URL length is 2,083 characters in Internet Explorer", http://support.microsoft.com/kb/208427/en
Updated by sunixzs no-lastname-given almost 11 years ago
HI,
a quick & dirty solution could be, if the array-key of the wizzard-config is "RTE" and not "link". Then the param "fieldConfig" is not set:
Example TCA-part of the wizzard:
<wizards> <_PADDING>2</_PADDING> <RTE><!-- not "link" --> <type>popup</type> <title>Icon</title> <icon>i/tt_content_search.gif</icon> <script>browse_links.php?mode=FontAwesome</script> <JSopenParams>height=500,width=750,status=0,menubar=0,scrollbars=1</JSopenParams> </RTE> </wizards>
Typo3 6.1.6 \TYPO3\CMS\Backend\Form\FormEngine Line 3983
if ($wid != 'RTE') { $params['fieldConfig'] = $fieldConfig; }
URL before: 9485 characters
URL after: 1117 characters
Updated by Tobias Pierschel almost 11 years ago
We ran often in this anoying issue and its a real show stopper. Could there be a fix soon? We would pay 100 EUR for fixing that problem.
Updated by Christof Hagedorn almost 11 years ago
Could someone provide the lowest reasonable values and for typo3 necessary values for
LimitRequestLine
LimitRequestFields
LimitRequestFieldsize
LimitRequestBody
in the apache config?
Updated by Alex Kellner over 10 years ago
Still exists in TYPO3 6.2.
One of the reasons why powermail has no edit link in FlexForm :(
Updated by Jens Vollmer over 9 years ago
This one drove me nuts. It's more a very dirty hack than a real solution, but setting $params['fieldConfig'] to empty worked for me in my Extension and TYPO3 6.2 for the edit wizard. The wizard has to be configured with "module" instead of "script" in TCA.
FormEngine.php
if ((string) $wConf['type'] == 'popup' && $wConf['module']['name'] == 'wizard_edit') { $params['fieldConfig'] = ''; unset($params['exampleImg']); }
Updated by Gerrit Code Review about 9 years ago
- Status changed from Accepted to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44413
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44413
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44413
Updated by Thomas Maroschik about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 436d0e74a016073c131d7030500b37f89e8328aa.