[TYPO3-v4] Redirect (shortcut page) drops parameters

Helmut Hummel helmut.hummel at typo3.org
Tue Nov 22 09:50:00 CET 2011


Hi,

On 21.11.11 12:20, Xavier Perseguers wrote:

> Question is whether shortcut page should keep parameters because I don't
> see the point of forwarding garbage automatically:
>
> http://your-domain.tld/?type=123&lots=of&garbage=3&cHash=34567890df

The breaking change is not only about the type parameter.
A URL like:

http://your-domain.tld/?tx_foobar=abc

worked before, but does not now. SO I'd rather pass the whole query 
string to the redirect than making something special for "type".

But cHash is indeed a problem here since it needs to be recreated for 
the new URL.

> I guess some "keep parameter" checkbox (feature request for 4.7) could
> make sense and I'd tend to say that config.linkVars should be used in
> TYPO3 4.6.

I'd rather use the "addQueryString" option for typolink, excluding "id" 
and "cHash" and recreate cHash if it was present before (don't know if 
this can be done easily).

Kind regards,
Helmut

-- 
Helmut Hummel
TYPO3 Security Team Leader, TYPO3 v4 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-v4 mailing list